Test the necesary validations to every end point of the worlflow resource
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 244 | 0 |
| Prerequest Scripts | 322 | 0 |
| Test Scripts | 562 | 0 |
| Assertions | 457 | 0 |
| Skipped Tests | 0 | - |
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d96f0ec8-4e68-4bad-a88c-1a683bc59522 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:53:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 62ddd691-7809-425a-b029-8ce279f89e68 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:53:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bab37aed-285d-4d72-b807-d0f6bf9c2f51 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=4A79D09609D56D14C462300F341BC770; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjExMjQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMTQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2MTR9.j-8CEB3VnhdAyMn6llHhIRiyoro2Yim5QJB7YJbHfSY; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:53:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694469214680,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469214681,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aa8cb422-0cb4-4b4a-a8ce-7fd2a329b06b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjExMjQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMTQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2MTR9.j-8CEB3VnhdAyMn6llHhIRiyoro2Yim5QJB7YJbHfSY |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=EC0EE36FE6D18BF55DD8E21AA2589067; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:53:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694469220786,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"e79c1bba-ccf7-4c12-9db1-c9c49dd286f3","mandatory":false,"modDate":1694469220787,"name":"REST1","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Scheme already exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 08b804e3-d63b-44af-aef9-aaf9f09d1ae6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjExMjQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMTQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2MTR9.j-8CEB3VnhdAyMn6llHhIRiyoro2Yim5QJB7YJbHfSY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=15CFDA56A432F7F49CD25BC98C917624; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:53:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e51c5d39-0605-4eb6-a8db-082f793b87a5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=31E260054A777931E7CAC4B26A235548; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjI4MjIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMzEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2MzF9.HDMLmZF0Km0QSZ87MID6AHCY2XkYAdC7XLYhgEpAf24; Path=/; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:53:51 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveScheme(WorkflowResource.java:3100)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6f8e899f-b7ce-4564-a32c-b7f27d4e3714 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjI4MjIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMzEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2MzF9.HDMLmZF0Km0QSZ87MID6AHCY2XkYAdC7XLYhgEpAf24 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1F78DB3771C0FF6EBB8A06EB904E5772; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:53:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 17aae8fa-b946-4672-92e0-160c66477628 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 170 |
{ "schemeId" : "d61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:53:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1b2510a1-f4f2-4310-bf76-364b3fa69dc5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
{ "schemeId" : "1db35f03-c9d4-43de-b09b-0a86788d426b", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A2B29075D7CCA97E7C874DEFB379F17D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjM1NjQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMzgsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2Mzh9.fNrv1LF8ua45voH6oTws513Ctwl4DEBkLdT5xu6_7pA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469238662,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8230baf1-e0e4-4c40-a152-e7da98b62a76 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 171 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjM1NjQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMzgsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2Mzh9.fNrv1LF8ua45voH6oTws513Ctwl4DEBkLdT5xu6_7pA |
{ "schemeId" : "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=EC23B08D61AB1829362A60323D4E5A60; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.addStep(WorkflowHelper.java:1038)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1367)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7421a0e1-4fa3-47f7-8dc6-87457db57693 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 158 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjM1NjQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMzgsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2Mzh9.fNrv1LF8ua45voH6oTws513Ctwl4DEBkLdT5xu6_7pA |
{ "schemeId" : "1db35f03c9", "stepName":"Step shorty schema id", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=878D3DE35238D65054311E1F98F42F26; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469247909,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"c3699a60-3b65-40c3-a12a-12490c55c1eb","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3c17960e-7ada-4464-b654-bb1addf22953 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjM1NjQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMzgsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2Mzh9.fNrv1LF8ua45voH6oTws513Ctwl4DEBkLdT5xu6_7pA |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=44851F3AE22379DF9A21E5A2F4D0454F; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:13 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1363)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 40381632-6ac5-4946-ac8f-43386249687b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjM1NjQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyMzgsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2Mzh9.fNrv1LF8ua45voH6oTws513Ctwl4DEBkLdT5xu6_7pA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=8DBA3DEB7E4D9E06719209EDE3D91274; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:54:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5a2a6a88-7ad2-44fd-a255-de448748e90c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:54:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 512845c0-1f9d-4390-9537-56c18b4d4001 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "17d8207b-e4c5-41fc-8b1f-7b9ea355619b",
"actionName": "saveContent FROM REST NEW",
"schemeId": "1db35f03-c9d4-43de-b09b-0a86788d426b",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=97518797339C4F183A7FCD3C771D5CB1; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjU4MzQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyNjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2NjF9.AeUJknytTo_qTCy3g8PC3jYxHJMIoCWCbACidpO0Nys; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 11c26010-c6f3-4dc4-a93b-dd6defb0d11c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 534 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjU4MzQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyNjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2NjF9.AeUJknytTo_qTCy3g8PC3jYxHJMIoCWCbACidpO0Nys |
{
"stepId": "aaee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=ADC4231254A8177B8AC4F046A7552CD7; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1994)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1591)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4c834f09-7e78-4122-b215-355b939d1708 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 533 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjU4MzQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyNjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2NjF9.AeUJknytTo_qTCy3g8PC3jYxHJMIoCWCbACidpO0Nys |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=B278756D7F304FE91FDD432D085C44D6; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1870)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1582)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0d717195-105b-4526-b2c5-06568e75e893 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 480 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjU4MzQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyNjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2NjF9.AeUJknytTo_qTCy3g8PC3jYxHJMIoCWCbACidpO0Nys |
{
"stepId": "17d8207be4",
"actionName": "saveContent FROM REST NEW",
"schemeId": "1db35f03c9",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=04F468D6CF857788C510B752729CD1B9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b69a07f5-60be-4b7c-a963-29bae4b9348b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjU4MzQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyNjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2NjF9.AeUJknytTo_qTCy3g8PC3jYxHJMIoCWCbACidpO0Nys |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=D9A24F9604F9A65424B5215F5156B5AE; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:45 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1030)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6a46bc78-fe9e-4a4d-8ee4-d5cb48e0c915 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjU4MzQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyNjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2NjF9.AeUJknytTo_qTCy3g8PC3jYxHJMIoCWCbACidpO0Nys |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=50983335FC587E0D2786C9C25C80CA73; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:54:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c43457aa-e591-473d-9586-1945f3016024 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:54:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d167c733-5e43-4735-9a20-04a3564d1ce5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=872E9902421CF2E23F9AB75B668FDFB9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjkwMjA3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyOTMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2OTN9.XmnBSDhmD-8AJHQrhgWWxzCTBj0EsSnOcDEtf7Dzwj8; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:54:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"archived":false,"creationDate":1694469293224,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"e79c1bba-ccf7-4c12-9db1-c9c49dd286f3","mandatory":false,"modDate":1694469220787,"name":"REST1","system":false},{"archived":false,"creationDate":1694469293224,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469276793,"name":"REST Schema","system":false},{"archived":false,"creationDate":1694469293224,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes exiting Scheme | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f486aeda-1d98-4733-ac96-6df7857567d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MjkwMjA3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkyOTMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU2OTN9.XmnBSDhmD-8AJHQrhgWWxzCTBj0EsSnOcDEtf7Dzwj8 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=57DA1FBBBC7AB61306C6D2D2A323B663; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:54:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 68ed1ec1-c854-4588-a3fc-c191a42b30fd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:54:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3f02ba0e-fe43-4110-b751-013efa04cefd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=37A3D7CCE3726D1ABECDFC6DBACC6762; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Mjk3NDkwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3MDB9.uCR35FE8AASm_T4xJHLFD4-iwp8qbLbQsSgR4WNAfAI; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1694469300518,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1694469300506,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"e79c1bba-ccf7-4c12-9db1-c9c49dd286f3","mandatory":false,"modDate":1694469220787,"name":"REST1","system":false},{"archived":false,"creationDate":1694469300506,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469276793,"name":"REST Schema","system":false},{"archived":false,"creationDate":1694469300506,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Content types permissions | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c92b6c28-d4fe-4a26-8c01-41c022256592 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Mjk3NDkwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3MDB9.uCR35FE8AASm_T4xJHLFD4-iwp8qbLbQsSgR4WNAfAI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=DF0F89A647151615BAA7D249A918E01A; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSchemesByContentType(WorkflowHelper.java:1249)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAllSchemesAndSchemesByContentType(WorkflowResource.java:372)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Content types not found | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a631b80c-2e07-4360-bd99-6d2b356031ee |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Mjk3NDkwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3MDB9.uCR35FE8AASm_T4xJHLFD4-iwp8qbLbQsSgR4WNAfAI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=8EBACA2EF1A1B0996DB06403D01B23DC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1694469300518,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1694469306672,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"e79c1bba-ccf7-4c12-9db1-c9c49dd286f3","mandatory":false,"modDate":1694469220787,"name":"REST1","system":false},{"archived":false,"creationDate":1694469306672,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469276793,"name":"REST Schema","system":false},{"archived":false,"creationDate":1694469306672,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes system workflow | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fcf27d7b-a80b-437a-8771-6bb6b7b61230 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Mjk3NDkwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3MDB9.uCR35FE8AASm_T4xJHLFD4-iwp8qbLbQsSgR4WNAfAI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=F9B91F35FDDE69EC1CB9F37AB316FC4F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:55:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9c2cde18-2cfb-4aab-bb58-a37b3e778d61 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:55:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f1ea4733-e7ba-4551-b23b-9da9f2c39c4a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A0DAC52DA80C35FE1D60994B2B207BC7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzEwOTc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMTMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3MTN9.uszk461JXAU6J-Ww5yqxP_092espExnRnTbQJHOK9OQ; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1694469313997,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},{"creationDate":1694469313998,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"c3699a60-3b65-40c3-a12a-12490c55c1eb","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes existing step | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5bc31a14-c11b-4d3d-a50e-ac5c94be3204 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzEwOTc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMTMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3MTN9.uszk461JXAU6J-Ww5yqxP_092espExnRnTbQJHOK9OQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E9EC3DD020A68FCF7C12106606D15104; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSteps(WorkflowHelper.java:1355)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepsByScheme(WorkflowResource.java:407)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid Response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7e33d770-f893-4233-94cf-764c7de0831c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzEwOTc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMTMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3MTN9.uszk461JXAU6J-Ww5yqxP_092espExnRnTbQJHOK9OQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=D7714DB5BAF4F4856E8DE96C2D6C803D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1694469320121,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"6cb7e3bd-1710-4eed-8838-d3db60f78f19","myOrder":0,"name":"New","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1694469320124,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","myOrder":1,"name":"Draft","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1694469320125,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","myOrder":2,"name":"Published","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1694469320125,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","myOrder":3,"name":"Archived","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes `New` step | 1 | 0 | 0 |
| Includes Draft step | 1 | 0 | 0 |
| Includes Published step | 1 | 0 | 0 |
| Includes Archived step | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6ba442eb-fdc1-4066-981a-532ab4dc4d7f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzEwOTc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMTMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3MTN9.uszk461JXAU6J-Ww5yqxP_092espExnRnTbQJHOK9OQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=B577B043FA8885A9F5025465B3D9725A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:55:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 83ac26cb-755e-4f5d-a570-1ced23bb9e0a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:55:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | be5538e6-9bfa-4dd9-bdec-929a5b3f03c8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=B8F679BD67D57866D6BF315134CE756A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzI0NDQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3Mjd9.feBGgk3mt4PWHKJjPqxQZj0EmWHjzlOVk-iGXCK09YY; Path=/; HttpOnly; SameSite=Lax |
| error-key | Contentlet identified by inode '123' was Not found. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Contentlet identified by inode '123' was Not found.","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Contentlet identified by inode '123' was Not found.\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableActions(WorkflowHelper.java:804)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableActions(WorkflowResource.java:444)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Valid response | 1 | 0 | 0 |
| Status code is 404 | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ab431010-a0e1-45f0-9493-96e6af01309d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 143 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzI0NDQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3Mjd9.feBGgk3mt4PWHKJjPqxQZj0EmWHjzlOVk-iGXCK09YY |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postmanXXY",
"value": "postmanXXY"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=DA5EBAA8BF613D75C28F97189A40A01B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"6789c4581bfff6bfcd62098d826f864f","inode":"59e76920-3e37-40bb-ab31-9f36fab7a910","key":"postmanXXY","languageId":1,"live":true,"locked":false,"modDate":1694469330868,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469330868,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"postmanXXY","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.59e76920-3e37-40bb-ab31-9f36fab7a910","value":"postmanXXY","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fd32ac1b-aabf-4aec-8074-1c0418d304b2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzI0NDQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3Mjd9.feBGgk3mt4PWHKJjPqxQZj0EmWHjzlOVk-iGXCK09YY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=F71244EB2D75F1C62ABD137FDAC5B6DC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","LISTING","EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","LISTING","EDITING","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 627fd775-f3f3-450f-994d-abb5ad72d95b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzI0NDQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3Mjd9.feBGgk3mt4PWHKJjPqxQZj0EmWHjzlOVk-iGXCK09YY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2B99D585C48199A7AE34B8AFC350D0FE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","LISTING","EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","LISTING","EDITING","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4781da03-796d-43ff-84f3-171aca136f86 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzI0NDQxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzMjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3Mjd9.feBGgk3mt4PWHKJjPqxQZj0EmWHjzlOVk-iGXCK09YY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=49A7377339E859710B668937BB5BF99D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:55:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b1b42d78-e42e-40ac-95ec-b1068a2887c0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:55:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 314e4d8a-e2af-497c-9ee3-a7b880a904bb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=C58B72E027B99C612B0CC4930496F45A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzQ3OTMxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NTB9.5yhIttcQfdHi56j6zRuFPC-cO1FHELegEqm762q7coU; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=b9d89c803) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=b9d89c803)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=b9d89c803)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:833)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAction(WorkflowResource.java:660)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4e198ea5-40d6-4eb3-9c3c-6368aa3afcd8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzQ3OTMxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NTB9.5yhIttcQfdHi56j6zRuFPC-cO1FHELegEqm762q7coU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=20B21C1289CCDACDFCC424EE93C843D6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes Action Id | 1 | 0 | 0 |
| Includes Action name | 1 | 0 | 0 |
| Includes Scheme Id | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 39c32eda-91e8-49a3-a314-3bede5372b39 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzQ3OTMxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NTB9.5yhIttcQfdHi56j6zRuFPC-cO1FHELegEqm762q7coU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=962CE2D512189E2AB222CC2B322D4BFE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:55:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 269d32dd-d7a4-4232-bf2e-dc0923de6482 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzQ3OTMxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NTB9.5yhIttcQfdHi56j6zRuFPC-cO1FHELegEqm762q7coU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=0966FA261F2C84C351D71CC4B73D8749; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:56:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8c13cbe0-49c0-4ce9-aac5-d7a98b549258 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:56:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e300d9d0-8f49-4d11-bf41-8e3442d7f6a2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=7BE8510E9D3C1741930C1F56DFB89EA0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzYxMzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNjQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NjR9.ZoT5pA-prx94QCvYtjZhroeLo1VryXitFBZbrkOHe1c; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=805ac9ad-289d-45e8-aa30-a9f5aa19e225 and stepId=123) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=805ac9ad-289d-45e8-aa30-a9f5aa19e225 and stepId=123)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=805ac9ad-289d-45e8-aa30-a9f5aa19e225 and stepId=123)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | facaaa69-a928-4645-b65d-20a35708475b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzYxMzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNjQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NjR9.ZoT5pA-prx94QCvYtjZhroeLo1VryXitFBZbrkOHe1c |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=FCBC336C3836CCC7BA790ACF42FA2018; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=123 and stepId=17d8207b-e4c5-41fc-8b1f-7b9ea355619b) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=123 and stepId=17d8207b-e4c5-41fc-8b1f-7b9ea355619b)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=123 and stepId=17d8207b-e4c5-41fc-8b1f-7b9ea355619b)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 88157b06-b10c-4ff4-b111-1fc78b2daed5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzYxMzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNjQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NjR9.ZoT5pA-prx94QCvYtjZhroeLo1VryXitFBZbrkOHe1c |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=95787A7D7A31EE80808570F18194B89C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5986f585-1065-4eb7-aca9-2ce34153cd0b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzYxMzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNjQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NjR9.ZoT5pA-prx94QCvYtjZhroeLo1VryXitFBZbrkOHe1c |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=52FD4E709B6D38D8F6F2A69866101F9B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f57730e2-0b58-4d3d-a447-87309b4dcbb3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzYxMzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzNjQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3NjR9.ZoT5pA-prx94QCvYtjZhroeLo1VryXitFBZbrkOHe1c |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=603E26ED077A448FFCE5F14F252F7AAE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:56:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d66c91b8-e744-4d85-8cca-32b6d67f21ce |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:56:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8eca943b-201d-4656-bb95-e00d5f5464de |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=251C1DCF594C05D29324E6779BF8D552; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Mzc3ODg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzODAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3ODB9.WdQ86KwUSe5RY4FxHgkb0Y86PD-YNU5eAZ5_sRjY864; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActions(WorkflowHelper.java:1319)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByStep(WorkflowResource.java:756)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 056d6371-7d00-4521-8719-120b1b78b2d1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Mzc3ODg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzODAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3ODB9.WdQ86KwUSe5RY4FxHgkb0Y86PD-YNU5eAZ5_sRjY864 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=8F94DC1A4279E1D1226737D7134AB88B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f827d0c8-5ad9-42d4-9929-1af4aa68d6ed |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Mzc3ODg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzODAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3ODB9.WdQ86KwUSe5RY4FxHgkb0Y86PD-YNU5eAZ5_sRjY864 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E376CA9554757AEE52EC87373CB5ED37; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 08b9ae1f-fa34-4827-954e-4507a3d6d7ec |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Mzc3ODg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzODAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3ODB9.WdQ86KwUSe5RY4FxHgkb0Y86PD-YNU5eAZ5_sRjY864 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=10D41C8DF0C1528B526A73401998318C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:56:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 58a6590e-6f2f-49ac-83b0-97bbaa51cfcb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:56:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 891e947c-0175-4001-b697-3e189e917977 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=7AB47D6F157BFFC6BA1994B37C3717AB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzkxMjg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzOTQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3OTR9.aCzWGwNCgW1K8b-NmKxMlnlOk1XkE76NTsINoR1SJIk; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActionsByScheme(WorkflowHelper.java:1448)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByScheme(WorkflowResource.java:785)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The scheme does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 14dfcf17-f443-4c65-a86e-3c408919d051 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzkxMjg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzOTQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3OTR9.aCzWGwNCgW1K8b-NmKxMlnlOk1XkE76NTsINoR1SJIk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=AE5B5DE96B4E8729E93EE0DCB35A7E65; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 94f11f2c-575c-480d-99c5-a6361156c2ef |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzkxMjg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzOTQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3OTR9.aCzWGwNCgW1K8b-NmKxMlnlOk1XkE76NTsINoR1SJIk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=C0AFA3FCD2040168C92EAEF48B1BCC9C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1f89ea54-7b8f-443a-8ccd-fdc0f18d1cc0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5MzkxMjg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0NjkzOTQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU3OTR9.aCzWGwNCgW1K8b-NmKxMlnlOk1XkE76NTsINoR1SJIk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=993792C6A1800794086FF4E66D0893F0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:56:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 21576a7c-4819-4f69-810c-8c1df273a928 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:56:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bfc55fd6-dc00-47a6-a2aa-0a6ec2153738 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=211802C09FF7BAF74403A9E8E2430E22; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDA0NzM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MDd9.HEfSQlnTeZJwmIl6qOfqGR0rGlyv1rPmaW6VH2R1uIs; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469261426,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6aa3a054-748d-4dae-9d37-c7b9236ad666 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDA0NzM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MDd9.HEfSQlnTeZJwmIl6qOfqGR0rGlyv1rPmaW6VH2R1uIs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=6ECECEB6231718D56A71F0BCDA233F88; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findStepById(WorkflowHelper.java:1064)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepById(WorkflowResource.java:1395)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2a0d1b3d-f10e-42a8-837b-08ceba34a465 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDA0NzM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MDd9.HEfSQlnTeZJwmIl6qOfqGR0rGlyv1rPmaW6VH2R1uIs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E368A46BE97B2C14C3EA02D58282211B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:56:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469261426,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e4fa39fa-f1d5-4a55-aff4-63c964170206 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDA0NzM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MDd9.HEfSQlnTeZJwmIl6qOfqGR0rGlyv1rPmaW6VH2R1uIs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=3E45FE71EF91D00843F69DB2AC02633D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:56:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5c8839b6-2092-4e4b-b3a5-6713250b093a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:56:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 79b9d748-8377-4db1-9b99-4be251db3f2e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=3C0486A34A15009190062D5652B49BD3; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDE4MTQyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MjF9.yIBhMqw47zy6mfPZ1U4KNQSoG47foL6P0afLNC8AP7U; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694469330620,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","LISTING","EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694469330620,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","ARCHIVED","LISTING","EDITING","LOCKED"]},"scheme":{"archived":false,"creationDate":1694469330620,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 84f8357d-33ad-4bbe-a957-c4ad4620e8be |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDE4MTQyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MjF9.yIBhMqw47zy6mfPZ1U4KNQSoG47foL6P0afLNC8AP7U |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=5121BF29028F3F251A7639C05FD524E2; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsByContentType(WorkflowHelper.java:1793)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsByContentType(WorkflowResource.java:3002)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 42fb6413-92c1-47a9-8b9b-79dd3dbd7a33 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDE4MTQyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MjEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MjF9.yIBhMqw47zy6mfPZ1U4KNQSoG47foL6P0afLNC8AP7U |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=45B011BBC543CA5643BFE6AB1C7C7EF9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:57:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 295ebaf1-addc-45a0-9510-875479349e02 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:57:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 416794b4-446f-4697-9274-301f6ccee95b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=FB6062DD1367BA95B1200DAD776A72A9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDI4NjU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MzEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MzF9.Pq69G7uM-8to6CVRAjWykv9aPlKZQeJcldDCYzeTQs0; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694469313996,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469276793,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694469313996,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469276793,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 94ba7d7d-45b1-4267-9bda-8f04db218495 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDI4NjU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MzEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MzF9.Pq69G7uM-8to6CVRAjWykv9aPlKZQeJcldDCYzeTQs0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=4AB9A49067F41C4E357F4C24C442FE6A; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsBySchemes(WorkflowHelper.java:1835)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsBySchemes(WorkflowResource.java:3037)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 254b456e-4895-4472-8834-998428743f52 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDI4NjU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MzEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MzF9.Pq69G7uM-8to6CVRAjWykv9aPlKZQeJcldDCYzeTQs0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=EA1E6074B87038AC0324074CF3A3DB17; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694469313996,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469276793,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694469313996,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469276793,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 830f5463-91cf-4633-a3fb-7d3f785c3008 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDI4NjU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0MzEsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4MzF9.Pq69G7uM-8to6CVRAjWykv9aPlKZQeJcldDCYzeTQs0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2FB9205B792379154F5FC6481EE8CB56; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:57:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1bd82b09-62c1-4369-a7f1-88a8d25a4bc4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:57:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 75ad3758-bc41-4e75-aaeb-de7f3fa35991 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=B506AE7431B347675027F1038C6BB7F3; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDQxOTkwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NDQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4NDR9.gWDyOsqUHu2JWOnXk1Wj1bWxZsdLLseVKjIW-jiZgcA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694469330620,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","LISTING","EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694469330620,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","ARCHIVED","LISTING","EDITING","LOCKED"]},"scheme":{"archived":false,"creationDate":1694469330620,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469183832,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 78504404-c157-444b-8839-28ab78c89252 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDQxOTkwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NDQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4NDR9.gWDyOsqUHu2JWOnXk1Wj1bWxZsdLLseVKjIW-jiZgcA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=C1541240BDF05D7DB42706B60284A137; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findInitialAvailableActionsByContentType(WorkflowHelper.java:1880)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findInitialAvailableActionsByContentType(WorkflowResource.java:3071)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63955ace-9b50-46a2-a0da-10b7b29cdf3f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDQxOTkwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NDQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4NDR9.gWDyOsqUHu2JWOnXk1Wj1bWxZsdLLseVKjIW-jiZgcA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=C9D6702384EA162997A6863739CE913C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:57:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 118f10bc-490f-4e53-86ad-5e92ecef4866 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:57:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 33a8343c-7870-422d-bd19-88a1ccdaf03e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A849B1D903DE38573D15814489A14065; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDUyMzY3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NTUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4NTV9.q8u7JAO1h93OHGlsIjqEVBZ3GhFWESxicc1Ubq5Tbxk; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"Republish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cf89b500-e0a8-489f-94d7-d1754912dc10 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 522 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDUyMzY3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NTUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4NTV9.q8u7JAO1h93OHGlsIjqEVBZ3GhFWESxicc1Ubq5Tbxk |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish-test2",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=4C8AF09765C49CE6F1432982B899237A; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateAction(WorkflowHelper.java:1478)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1066)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Action does not exist | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 96119322-ff3f-4fcd-b3bf-fd792629f6ec |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 469 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDUyMzY3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NTUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4NTV9.q8u7JAO1h93OHGlsIjqEVBZ3GhFWESxicc1Ubq5Tbxk |
{
"actionName": "Republish-123fa",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=66386F0E897DF251936DBA5EA1C9C545; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","name":"Republish-123fa","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cbf04c6f-9593-4d0c-9152-69eb992c8f2e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDUyMzY3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NTUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4NTV9.q8u7JAO1h93OHGlsIjqEVBZ3GhFWESxicc1Ubq5Tbxk |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A7534926EA2A838637E1AE0AAA500255; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:57:50 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1064)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7123a64e-c940-4d2e-aee9-a20abcdd8acc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDUyMzY3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NTUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4NTV9.q8u7JAO1h93OHGlsIjqEVBZ3GhFWESxicc1Ubq5Tbxk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=3E3C77E07A16E587445A873B613DC560; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:57:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 27c416e2-6a74-4c3c-92bd-9be99a1434e2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:57:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1fbb2c35-6081-4d89-bc32-bb96c2db91db |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "805ac9ad-289d-45e8-aa30-a9f5aa19e225" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2A0B00BC275173E86994BA4D796FDE41; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDc0OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4Nzd9.WKYg7Zmq6SoXE5aNyvoN0N7sYxAdt4ZTQJi1aoNoGfM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 21:58:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a57f3c99-ee94-4e09-beaf-75147abfef84 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDc0OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4Nzd9.WKYg7Zmq6SoXE5aNyvoN0N7sYxAdt4ZTQJi1aoNoGfM |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=C2BE22C1AC3A28B5FA5CE4CEAE02E216; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:58:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4b9ec006-b2af-4a04-9119-c94ffd6b0eba |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDc0OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4Nzd9.WKYg7Zmq6SoXE5aNyvoN0N7sYxAdt4ZTQJi1aoNoGfM |
{ "actionId": "a777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=EC9A7CBA4D9309116BDFC4000ECA2983; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:58:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1944)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8fc99cbc-1856-4835-b942-2a3ae6f4a66f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 28 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDc0OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4Nzd9.WKYg7Zmq6SoXE5aNyvoN0N7sYxAdt4ZTQJi1aoNoGfM |
{ "actionId": "805ac9ad28" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=D3AB934F55DDE3D6C6DD90363A2B3F84; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 21:58:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1853131f-4486-4ef4-bd9b-d050a363a918 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDc0OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4Nzd9.WKYg7Zmq6SoXE5aNyvoN0N7sYxAdt4ZTQJi1aoNoGfM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=27443BF21E194F0A932BA4DC2A4E797B; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:58:16 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1096)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1f36dff9-577b-4459-89c6-bb2ef15ee37e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NDc0OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk0NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU4Nzd9.WKYg7Zmq6SoXE5aNyvoN0N7sYxAdt4ZTQJi1aoNoGfM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A7A1CDB2CC929735B3F43FCAB41A69DC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:58:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't import schemes without credentials
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a6c22049-a285-4b73-9f77-1b08d21b07f4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4552 |
{
"workflowObject": {
"schemes": [
{
"creationDate": 1523640559394,
"name": "Test1",
"description": "",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1523640423771,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"creationDate": 1523643857447,
"name": "Step1",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"creationDate": 1523643857447,
"name": "step2",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save it",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"LOCKED",
"NEW",
"UNLOCKED"
]
},
{
"id": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"name": "TEst",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"LOCKED",
"UNLOCKED"
]
}
],
"actionSteps": [
{
"stepId": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"actionOrder": "0"
},
{
"stepId": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"actionId": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "2298b780-e1d3-4916-b981-e22fd5553086",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"nextStep": null,
"howTo": "This actionlet will checkin the content.",
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:58:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid Credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d2875cfd-34cd-4ac9-a4aa-69db1e928e18 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=CD513176A7F6DC16BD33EDD92E578138; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTAwNTAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MDMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MDN9.uGi-RgAbL-qrzTmjpLV_88Dts9pjdbR4zJl3WqcCivo; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 21:58:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2e1236d9-1ace-4568-b45d-66eb7a55ca4b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTAwNTAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MDMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MDN9.uGi-RgAbL-qrzTmjpLV_88Dts9pjdbR4zJl3WqcCivo |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=3C74E0FE6764D01D5A43371A68313A16; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:58:29 GMT |
| Connection | close |
{"message":"Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.","stacktrace":{"buffer":"com.dotmarketing.exception.AlreadyExistException: Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.\n\tat com.dotcms.workflow.helper.WorkflowHelper.checkIfSchemeExists(WorkflowHelper.java:772)\n\tat com.dotcms.workflow.helper.WorkflowHelper.importScheme(WorkflowHelper.java:602)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2875)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Already existing id | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as limited user if you have permissions to the workflow portlet
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 02279d2a-5cb8-4bbc-bdf1-51aa3afdce21 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTAwNTAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MDMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MDN9.uGi-RgAbL-qrzTmjpLV_88Dts9pjdbR4zJl3WqcCivo |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=B269BE33E563501FB98DFB6E3B050430; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:58:32 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2861)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 38b97d9f-44a6-4c50-9956-680a08c8951c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4671 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTAwNTAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MDMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MDN9.uGi-RgAbL-qrzTmjpLV_88Dts9pjdbR4zJl3WqcCivo |
{
"workflowObject": {
"actionClassParams": [
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "2163cb23-8b9a-406a-b2fa-7beecd5c63b0",
"key": "emailSubject",
"value": "subject"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "f98771e9-ca5c-438a-a23b-85594b92af45",
"key": "emailBody",
"value": "msg"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "d831815e-f9c4-4338-956f-2e8b9e0e371b",
"key": "isHtml",
"value": "true"
}
],
"actionClasses": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionlet": {
"actionClass": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"howTo": "This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo",
"localizedName": "Notify Assignee",
"name": "Notify Assignee",
"nextStep": null,
"parameters": [
{
"defaultValue": "",
"displayName": "Email Subject",
"key": "emailSubject",
"required": false
},
{
"defaultValue": null,
"displayName": "Email Message",
"key": "emailBody",
"required": false
},
{
"defaultValue": "true",
"displayName": "Is Html?",
"key": "isHtml",
"required": false
}
]
},
"clazz": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"id": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"name": "Notify Assignee",
"order": 0
}
],
"actionSteps": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionOrder": "0",
"stepId": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec"
}
],
"actions": [
{
"assignable": false,
"commentable": false,
"condition": "",
"icon": "workflowIcon",
"id": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"name": "test",
"nextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"nextStep": "currentstep",
"nextStepCurrentStep": true,
"order": 0,
"owner": null,
"roleHierarchyForAssign": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981",
"showOn": []
}
],
"schemeSystemActionWorkflowActionMappings": [],
"schemes": [
{
"archived": false,
"creationDate": 1623256714100,
"defaultScheme": false,
"description": "",
"entryActionId": null,
"id": "8760ea91-9912-456c-b719-7c63e81fa981",
"mandatory": false,
"modDate": 1623203259556,
"name": "Test",
"system": false
}
],
"steps": [
{
"creationDate": 1623256717104,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0,
"id": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec",
"myOrder": 0,
"name": "step1",
"resolved": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981"
}
],
"version": "1.0"
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=717C01ED8838ACDB4B911C4ADBC37C87; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 21:58:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8e582416-f10c-48c3-9f22-806dcb9d4689 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 34 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTAwNTAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MDMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MDN9.uGi-RgAbL-qrzTmjpLV_88Dts9pjdbR4zJl3WqcCivo |
{
"name": "Copy Workflow"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=42936589EBB6D2A501E916BE3010FA0D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:58:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694469521886,"defaultScheme":false,"description":"","entryActionId":null,"id":"0c712b61-ad01-4dec-ac1f-b450bf8907b0","mandatory":false,"modDate":1694469521886,"name":"Copy Workflow","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bc86e5a5-81f1-409f-a81c-bafd44510336 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTAwNTAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MDMsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MDN9.uGi-RgAbL-qrzTmjpLV_88Dts9pjdbR4zJl3WqcCivo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=51FCAB82ED5D3B2D87929A58D3799881; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:58:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't export without credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cb2fbaf7-1092-421c-8c75-7fdd1efdf1d7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:58:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid credentials | 1 | 0 | 0 |
| Correct response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7dc2cd97-d4c8-43bb-bdef-b213527cbffc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=807B0B19525AD6389B93AC6F8C06A4D2; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTI5MTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MzIsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MzJ9.ZdhAT2Iop7Fo5AJ8kYeqn27jZFwq2f4NbrTCHQopBGw; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:58:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"d5595f4c-d8bc-4153-b8be-6bd8dcbe5e71","id":null,"key":"emailSubject","value":null},{"actionClassId":"d5595f4c-d8bc-4153-b8be-6bd8dcbe5e71","id":null,"key":"emailBody","value":null},{"actionClassId":"d5595f4c-d8bc-4153-b8be-6bd8dcbe5e71","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"d5595f4c-d8bc-4153-b8be-6bd8dcbe5e71","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","actionOrder":"0","stepId":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b"},{"actionId":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","actionOrder":"1","stepId":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1694469532211,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469490169,"name":"REST Schema","system":false}],"steps":[{"creationDate":1694469532216,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},{"creationDate":1694469532217,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"c3699a60-3b65-40c3-a12a-12490c55c1eb","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 67180aa1-15a7-4240-a8b4-66f9459c8b9c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTI5MTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MzIsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MzJ9.ZdhAT2Iop7Fo5AJ8kYeqn27jZFwq2f4NbrTCHQopBGw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=57149C2573E9937E74D9CB50F316A933; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:58:55 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"d5595f4c-d8bc-4153-b8be-6bd8dcbe5e71","id":null,"key":"emailSubject","value":null},{"actionClassId":"d5595f4c-d8bc-4153-b8be-6bd8dcbe5e71","id":null,"key":"emailBody","value":null},{"actionClassId":"d5595f4c-d8bc-4153-b8be-6bd8dcbe5e71","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"d5595f4c-d8bc-4153-b8be-6bd8dcbe5e71","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"805ac9ad-289d-45e8-aa30-a9f5aa19e225","actionOrder":"0","stepId":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b"},{"actionId":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","actionOrder":"1","stepId":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c1c2d2ab-96a9-40a6-bfca-85a1d3c3b6c0","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1694469532211,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469490169,"name":"REST Schema","system":false}],"steps":[{"creationDate":1694469535311,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},{"creationDate":1694469535312,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"c3699a60-3b65-40c3-a12a-12490c55c1eb","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7f4d5af6-0e72-4216-ae39-6ec59a909a56 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTI5MTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1MzIsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5MzJ9.ZdhAT2Iop7Fo5AJ8kYeqn27jZFwq2f4NbrTCHQopBGw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=164506C849DFD636FDCC1183EB2D059B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:58:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ea9f1848-d0cc-4e5a-ba39-0832e9542510 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:58:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a5992528-7a5c-48d3-b4b7-4087a97e8fda |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 142 |
{ "stepOrder":5, "stepName":"REST step UPDATED", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=0656A3BFA651C1BF1698ED84CE12697D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTM5ODA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NDIsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NDJ9.D6W14xLj9qUscZjWQsLVGFc6rD2GS3qo31YiYVpSQnw; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469261426,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":1,"name":"REST step UPDATED","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8e46da9f-a819-412f-a0ca-354347da4dd6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 129 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTM5ODA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NDIsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NDJ9.D6W14xLj9qUscZjWQsLVGFc6rD2GS3qo31YiYVpSQnw |
{ "stepOrder":5, "stepName":"REST", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=D4A0EB8180522D850E773337197510C2; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:08 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateStep(WorkflowHelper.java:1082)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1337)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4c8569aa-3590-460d-9b68-684f06462816 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 148 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTM5ODA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NDIsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NDJ9.D6W14xLj9qUscZjWQsLVGFc6rD2GS3qo31YiYVpSQnw |
{ "stepOrder":5, "stepName":"REST step Updated again", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=8527215A03A2B1F07DA9BAB8CEE71BDE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469551946,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":1,"name":"REST step Updated again","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8a76dfeb-5a8b-41c3-a95f-a19038bb030c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTM5ODA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NDIsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NDJ9.D6W14xLj9qUscZjWQsLVGFc6rD2GS3qo31YiYVpSQnw |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=86703AD4BE2C0D1DE3CC753E455030B8; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:18 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1336)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7df94d20-48c4-43c1-9890-a366552537dd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTM5ODA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NDIsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NDJ9.D6W14xLj9qUscZjWQsLVGFc6rD2GS3qo31YiYVpSQnw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=D47D0689D87FDB8D837DF4AEA168E9C1; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:59:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 35072597-9e6b-4e23-a552-3c55551d061e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:59:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8e787b76-7fbd-49eb-b453-3b919938566c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E0F1492F68C4E675E69F33DE60852507; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTYyMjkyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NjUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NjV9.I3V3QAJ_QKbi6W1HL0GYEx8DIT1XE-dVayNeVx1OaCY; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 21:59:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 770f01ea-8051-41ac-9966-843a54f57b62 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTYyMjkyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NjUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NjV9.I3V3QAJ_QKbi6W1HL0GYEx8DIT1XE-dVayNeVx1OaCY |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=012A59C5C2C680B37612BE13D845B1E2; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderStep(WorkflowHelper.java:989)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderStep(WorkflowResource.java:1306)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ddc0e922-110d-44d7-86e1-0b661345bcbe |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTYyMjkyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NjUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NjV9.I3V3QAJ_QKbi6W1HL0GYEx8DIT1XE-dVayNeVx1OaCY |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=5EDDEA17DB0DBE962C018C2F597A00AB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 21:59:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff8d4e83-2705-405a-b1a8-8ac6c8119ff2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTYyMjkyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1NjUsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5NjV9.I3V3QAJ_QKbi6W1HL0GYEx8DIT1XE-dVayNeVx1OaCY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=36DFBB110825FD07729557234E0D6871; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 21:59:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 78a25b34-f524-4e6b-bde4-b9d6818e9a92 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST2", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 21:59:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b9a4afd5-8788-4e41-885c-964d98cce913 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 107 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=4131547537E167027CA88DCD5CBC2A7D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTgxNzY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1ODQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5ODR9.CLCt1-j-lz7GwIUpHyz6NbJIkvJFE6UlgKAtakp81Vg; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694469584784,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469584789,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f65d0d18-7935-48fc-8c31-8e965321a9fb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 115 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTgxNzY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1ODQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5ODR9.CLCt1-j-lz7GwIUpHyz6NbJIkvJFE6UlgKAtakp81Vg |
{"schemeName": "Default Scheme Updated from REST", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=EC4CAB2837EFC4DFE7F82422D4E04E74; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1930)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3132)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1926)\n\t... 101 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6bf7c083-f47b-40d7-9a81-3677cd4c907a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTgxNzY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1ODQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5ODR9.CLCt1-j-lz7GwIUpHyz6NbJIkvJFE6UlgKAtakp81Vg |
{"schemeName": "WF_Import_AsAdmin_edited_Shorty", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1F6A14D6A4515EC78EC967D47FDE44CB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469593923,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469593925,"name":"WF_Import_AsAdmin_edited_Shorty","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4814fc44-d354-47ff-9b4c-5201b637dfa3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTgxNzY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1ODQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5ODR9.CLCt1-j-lz7GwIUpHyz6NbJIkvJFE6UlgKAtakp81Vg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1D4BE0A410E596A23740FB4F7BF1967C; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 21:59:59 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3130)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9cab3fdc-fa1b-40f2-8d9b-30d44cad9dd8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NTgxNzY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk1ODQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTU5ODR9.CLCt1-j-lz7GwIUpHyz6NbJIkvJFE6UlgKAtakp81Vg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E7785387958735C6626CE1A465F88075; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:00:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 86342245-eb18-405c-a8b9-9ebc03ab8559 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 3}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 22:00:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ce05f181-d9c0-4d8c-aa20-3b7b4df23797 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=067A5CEEA54C341A8D692FABF546B873; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 22:00:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3ed34987-35e8-46fe-a87e-68658cade781 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 45 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
{"order" : 123012301203102301230102301230123}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=4067EFC1086EF956B0515DCC15126352; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | bad-request-exception |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:00:13 GMT |
| Connection | close |
{"message":"Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]","stacktrace":{"buffer":"com.fasterxml.jackson.core.exc.InputCoercionException: Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportInputCoercion(ParserMinimalBase.java:623)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:592)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:587)\n\tat com.fasterxml.jackson.core.base.ParserBase._reportTooLongIntegral(ParserBase.java:927)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseSlowInt(ParserBase.java:906)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseNumericValue(ParserBase.java:828)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:857)\n\tat com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:689)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:526)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:506)\n\tat com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeSetAndReturn(FieldProperty.java:167)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.vanillaDeserialize(BuilderBasedDeserializer.java:293)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.deserialize(BuilderBasedDeserializer.java:217)\n\tat com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)\n\tat com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:2025)\n\tat com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1175)\n\tat com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:803)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundReadFrom(MappableExceptionWrapperInterceptor.java:74)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)\n\tat org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)\n\tat org.glassfish.jersey.server.ContainerRequest.readEntity(ContainerRequest.java:271)\n\tat org.glassfish.jersey.server.internal.inject.EntityParamValueFactoryProvider$EntityValueFactory.provide(EntityParamValueFactoryProvider.java:96)\n\tat org.glassfish.jersey.server.spi.internal.ParamValueFactoryWithSource.provide(ParamValueFactoryWithSource.java:71)\n\tat org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:94)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:127)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, Bad request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bbe85642-5291-4b9f-9901-796ef68c535c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E7B3062ECF698FAECEF493E31C521F0D; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:00:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff266fcc-b061-44b0-8b97-acccf55c5326 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=EC5DD4CF8FAAD44B1FED5075A11FFC5E; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:00:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | af959df1-0944-4d9d-bc94-51963522bdaf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=6E6118A673991E1D29560D43F7C0E8C8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 22:00:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5b20cff9-5d33-4306-8cf8-01cc1d463ca1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1EE38EE958B4B282371F24D7353182E6; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:00:28 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2824)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | deedd909-0fde-43f8-bbae-bf6e8f892bb1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1048 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Test Content Type",
"description": "THE DESCRIPTION",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"dataType": "LONG_TEXT",
"dbColumn": "text_area2",
"fieldVariables": [],
"fixed": false,
"iDate": 1453474468000,
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"indexed": true,
"listed": false,
"modDate": 1478557845000,
"name": "Title",
"readOnly": false,
"required": false,
"searchable": true,
"sortOrder": 3,
"unique": false,
"variable": "title"
}],
"workflow": ["d61a59e1-a49c-46f2-a929-db2b4bfa88b2"]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=0840E87C6ABA841C5D35C188D61639C3; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:00:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"THE DESCRIPTION","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1694469632000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":3,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1694469632000,"icon":"event_note","id":"94a03a7b528590d78d2f752479b24788","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694469638000,"indexed":false,"listed":false,"modDate":1694469638000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694469638000,"indexed":false,"listed":false,"modDate":1694469638000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1694469632000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1694469632000,"multilingualable":false,"name":"Test Content Type","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"TestContentType","versionable":true,"workflows":[{"archived":false,"creationDate":1694469637969,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469622501,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b0ac6daf-e018-4ade-a0c9-ed2173903655 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 71 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
{
"contentlet":{
"stName": "TestContentType",
"title": "test"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=758CC13C35391D3124EF3FFDE407EFD6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:00:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"a6cb8267960ac4a49b31f0fd6ae57c11","inode":"053a204d-d234-4291-aa80-74612b22f4bd","languageId":1,"live":false,"locked":false,"modDate":1694469641162,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469641162,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.053a204d-d234-4291-aa80-74612b22f4bd","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 78b06afa-bd57-4ff6-94ee-d71d388b7ae3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2FB354CA42644E8C1CFCF7F12CD19496; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:00:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"a6cb8267960ac4a49b31f0fd6ae57c11","inode":"053a204d-d234-4291-aa80-74612b22f4bd","languageId":1,"live":false,"locked":false,"modDate":1694469641162,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469641162,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/content.053a204d-d234-4291-aa80-74612b22f4bd","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5d0f38f2-736e-4296-8b79-d914f63cb9ae |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
{}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=887C17BDFDFDF5B36E15D5DBF0F6BBB8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 95 |
| Date | Mon, 11 Sep 2023 22:01:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aee337a0-5084-481d-b3b1-0bcc63bda4dd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjA0MjEyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2MDcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwMDd9.5zF7F3fLkyE8ma0npwJuOIN6p3Q4V46iZzGiE1yEjzM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=EDC04DB160190C203FC7400ECA2A7B47; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:01:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cc997d80-14e3-44da-a072-c0ee8f5aa074 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1694469673",
"value": "SucessRequest1694469673"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=BE5F4A8D00D6112105E915B689B8A8A2; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:01:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"ee8ed8aba846b71d7fdfd027095b334d","inode":"fef39f13-ff3b-4201-aa44-037e422fb71d","key":"SucessRequest1694469673","languageId":1,"live":true,"locked":false,"modDate":1694469676488,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469676488,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1694469673","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.fef39f13-ff3b-4201-aa44-037e422fb71d","value":"SucessRequest1694469673","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 721a4b5e-8282-492a-9343-d2cd3676d173 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=48904370079421C1C7CDEB6C8792F52F; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:01:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.validateActionStepAndWorkflow(WorkflowAPIImpl.java:3511)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3360)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d71bb9a9-e138-4d1c-b9f2-b54d0a8b7e09 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=345EE0A36C881DAF8B9A392F5E5C4F77; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:01:28 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 102 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3608f0bb-5ea7-4d96-a3b5-21bc4c07885f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SupportShorty1694469689",
"value": "SupportShorty1694469689"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2FDBA0636EB70C30B429FCD1764DEB20; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:01:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"34822db849767f7d20e54e7ea913cb5e","inode":"3012f288-3e7e-453b-99c8-c5bad636cdc6","key":"SupportShorty1694469689","languageId":1,"live":true,"locked":false,"modDate":1694469691911,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469691911,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SupportShorty1694469689","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.3012f288-3e7e-453b-99c8-c5bad636cdc6","value":"SupportShorty1694469689","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 35027b3c-8676-4e3f-aa11-a2752e770855 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=63FB69071A7B78E1C599656749CD4BA0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:01:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"ee8ed8aba846b71d7fdfd027095b334d","inode":"daca4965-66f7-4d16-aab1-c96d1b404866","key":"SucessRequest1694469673","languageId":1,"live":true,"locked":false,"modDate":1694469701210,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469701210,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1694469673","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.fef39f13-ff3b-4201-aa44-037e422fb71d","value":"SucessRequest1694469673","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3e54f4a5-6a96-4cea-a88b-40f1382c622c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1694469673",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=284E3E44F1CC5AA3F673D6C9B168CF30; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:01:50 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a7964651-95c5-4db6-9023-cb4063f5dc0e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=02B2C8C44C612D0B9499C8C214B49EB4; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:01:53 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e860ffc5-ef45-4cf4-8fcc-3c23e595edfc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=81DBED11310F94834C876338F018C67D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:02:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/80ce1fe51bfb8a330f7b0668725d51e3/asset/james.jpeg","assetContentAsset":"80ce1fe51bfb8a330f7b0668725d51e3/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1694469716744,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/150ef3d9-09c7-4a88-b3e9-80f6da93d704/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"80ce1fe51bfb8a330f7b0668725d51e3","inode":"150ef3d9-09c7-4a88-b3e9-80f6da93d704","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1694469716770,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.150ef3d9-09c7-4a88-b3e9-80f6da93d704","publishDate":1694469716770,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.150ef3d9-09c7-4a88-b3e9-80f6da93d704","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1c65de7c-26e6-4950-9354-5ca388a11cc1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NjczMzg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk2NzYsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYwNzZ9.7jUhH2vO28CDCI5p09GYW1h1i8mbcmH3TAuYid9uEBs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=18C9C70E23CDC56F42B9A8C5B5C5604F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:02:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b04e2c49-ce9a-4e36-a773-c86582b0d915 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1694469727",
"value": "SucessRequest1694469727"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=0E33E7DF7388BAAAC2F0ED134CC2B4B5; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:02:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"022e8279d2e4dd0e709cd0e8a782a404","inode":"290edb1c-f7c1-4fbb-8839-b3ec4f01a971","key":"SucessRequest1694469727","languageId":1,"live":true,"locked":false,"modDate":1694469730393,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469730393,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1694469727","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.290edb1c-f7c1-4fbb-8839-b3ec4f01a971","value":"SucessRequest1694469727","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire a publish action. In the body the contentType is not sent, just the baseType but it doesn't exists so 400.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aca14112-75e3-4fa6-a9b0-92fe53c5a68b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 200 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg |
{
"contentlet":{
"baseType":"BaseTypeNotExist",
"asset":"temp_c41afefd64",
"hostFolder":"48190c8c-42c4-46af-8d1a-0cd5db894797",
"indexPolicy":"WAIT_FOR"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=35F4116C0B96F0AFC939CC94A6466968; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | BaseContentType BaseTypeNotExist does not Exist |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:02:19 GMT |
| Connection | close |
{"message":"BaseContentType BaseTypeNotExist does not Exist","stacktrace":{"buffer":"java.lang.IllegalArgumentException: BaseContentType BaseTypeNotExist does not Exist\n\tat com.dotcms.contenttype.model.type.BaseContentType.getBaseContentType(BaseContentType.java:115)\n\tat com.dotcms.rest.ContentHelper.tryToSetContentType(ContentHelper.java:118)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:101)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:85)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2748)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 94d13a7e-0718-41fc-83be-18218b661239 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=8B4A6B0F1029D9BBDFD22D87936440FE; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-message | No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | application/json |
| Content-Length | 112 |
| Date | Mon, 11 Sep 2023 22:02:22 GMT |
| Connection | close |
{"message":"No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bd415054-7e41-4eec-b4a0-1284bc0279fd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2CB162F326C17DDE16158CDD07F48B8D; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:02:25 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 103 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ebe7488a-54f4-4802-9b51-dac7d17c2381 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=C7046FD5E99A0D841C952AAE905F2615; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:02:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"022e8279d2e4dd0e709cd0e8a782a404","inode":"5cce4e59-53f0-4136-9a18-fb539d459dbf","key":"SucessRequest1694469727","languageId":1,"live":true,"locked":false,"modDate":1694469748871,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469748871,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1694469727","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.290edb1c-f7c1-4fbb-8839-b3ec4f01a971","value":"SucessRequest1694469727","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fb54d68f-afa2-4ea0-a362-aab2a418f0e5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1694469727",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=815F34940299A613E7A24775C6BBBE86; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:02:38 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f6a0b124-166e-4033-813a-13fa21f748c1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=67E9FA29A3E0F3F4A1A31AF463FB3882; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:02:41 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ee1cfb41-a2eb-4434-a9b0-80a4e1159327 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=55743008481D2DC49EEAF3670591D987; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:02:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/aea9dfff-3e68-4011-ab6a-3ea5cfab723d/asset/james.jpeg","assetContentAsset":"aea9dfff-3e68-4011-ab6a-3ea5cfab723d/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1694469764316,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/44b52571-1d96-42f8-8057-d8760a32e462/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"aea9dfff-3e68-4011-ab6a-3ea5cfab723d","inode":"44b52571-1d96-42f8-8057-d8760a32e462","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1694469764342,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.44b52571-1d96-42f8-8057-d8760a32e462","publishDate":1694469764342,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.44b52571-1d96-42f8-8057-d8760a32e462","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3d43db56-b94d-4aba-8ff2-dfa06f4413b6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5NzI3MzEwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3MzAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxMzB9.yESiQQePM3ELzY_PcqnwkwptMYU9HaQzyG-RH_j4WHg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=EB8B3AD468DFE5CFDF62FE5E1CCC731B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:02:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d37beaf2-44af-410e-a37e-fb8614f8996c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 22:02:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 23053b90-f290-4319-941e-638a1924db2b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1CFF57D85B848E0FF4CAD5FB801EB206; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Nzc0ODAzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxNzd9.s0V-JOqQzKZpDMCpbWh6BlOc4C_f5vUP2eOjwf09USw; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469777815,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"5e741806-e420-4836-b657-c90c992871cc","mandatory":false,"modDate":1694469777815,"name":"Copy from REST (automatic)","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0ce9f92d-76bd-4dfd-8bfa-c5840f5f660b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Nzc0ODAzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxNzd9.s0V-JOqQzKZpDMCpbWh6BlOc4C_f5vUP2eOjwf09USw |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=85D8E78099BBDF6F6CFAD265410C1B79; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.copyScheme(WorkflowResource.java:2970)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 119ed005-7062-47b5-9d79-08d80e9912fd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Nzc0ODAzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxNzd9.s0V-JOqQzKZpDMCpbWh6BlOc4C_f5vUP2eOjwf09USw |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2813957E7A4EBB5D48E89A4B3D6B73EE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469787014,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"0d7c8dab-7799-4f93-b67d-d80515720160","mandatory":false,"modDate":1694469787014,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 60bf6e63-6aa2-4611-8b32-0269368c772b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Nzc0ODAzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxNzd9.s0V-JOqQzKZpDMCpbWh6BlOc4C_f5vUP2eOjwf09USw |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=55D7FC7F610B8C0974594415A83B907D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469793095,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"d232724d-38c5-43b2-9c51-1d39edef77ac","mandatory":false,"modDate":1694469793095,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 476d8b64-9d5a-4110-9110-863f7011abd1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Nzc0ODAzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxNzd9.s0V-JOqQzKZpDMCpbWh6BlOc4C_f5vUP2eOjwf09USw |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E9CFAFC17768471607BA7AB291F7C1D4; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469799173,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"889f8b3f-5637-433a-bf38-d9eb8957ebdc","mandatory":false,"modDate":1694469799174,"name":"Copy Using ShortlyID","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 36cb8c38-398f-464c-a359-b63c24e7d8f3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5Nzc0ODAzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk3NzcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYxNzd9.s0V-JOqQzKZpDMCpbWh6BlOc4C_f5vUP2eOjwf09USw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=FEF66F9FFEC6EF80001123A328D0376D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:03:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ec416209-45a6-41f9-bcc1-815f77a8f45b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 22:03:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3b515a3e-341f-49ec-9644-fa83108d4aa3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=B77DC8B90359A278AC4FD6F40E246A71; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469809479,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"17d8207b-e4c5-41fc-8b1f-7b9ea355619b","myOrder":0,"name":"REST step Updated again","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2749edf3-b6ed-4206-a672-3de6a9cc6500 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=BBC61AAAE93FB7128E71130ADD2E1793; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:36 GMT |
| Connection | close |
{"message":"Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.","stacktrace":{"buffer":"com.dotmarketing.exception.DotDataValidationException: Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.doDeleteStep(WorkflowAPIImpl.java:1073)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.deleteStep(WorkflowAPIImpl.java:1031)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1133)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8bfe4bbe-c788-4c0a-bc96-a59eab3713c9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=C61323BF593980289DA0A47B2EF09501; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1126)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2c7d96b2-bf16-425e-a3ef-51800907ccfd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
{ "schemeId" : "1db35f03-c9d4-43de-b09b-0a86788d426b", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=3FD8D01573CD3EE0CC76321BF6395F34; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODIxMTIzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4MjQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyMjR9.zIm21Y823fVucPR9ALzErpPBJWzttFXRZ-NUzx7bgr8; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469824134,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"024d7bda-7aa1-47b2-a663-6d075d5b49a8","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 792cf175-b3de-4a35-9768-389a4e6c2eae |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODIxMTIzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4MjQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyMjR9.zIm21Y823fVucPR9ALzErpPBJWzttFXRZ-NUzx7bgr8 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=376A4E5C42E0ADDD33A88A573979AC8F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:03:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469830179,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"024d7bda-7aa1-47b2-a663-6d075d5b49a8","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0afabe83-fcba-4989-b4e1-422c3a66fc66 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODIxMTIzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4MjQsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyMjR9.zIm21Y823fVucPR9ALzErpPBJWzttFXRZ-NUzx7bgr8 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=AABCC277676D59251602349941EF4959; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:03:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8282c2c3-91af-4dd0-bce4-6cb477683b5b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 22:03:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9a969eef-564e-4877-80dd-e8d4650a4638 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1AD66DD051123C07E37E5E528D8718EB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODM3NDMzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4NDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyNDB9.mvhOO4SODgmF0fUdx8rfIBtfV5IGSp8HpasHNv8LdJA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 22:04:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 29cdf396-5c4a-42f5-9336-cb534c801565 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODM3NDMzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4NDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyNDB9.mvhOO4SODgmF0fUdx8rfIBtfV5IGSp8HpasHNv8LdJA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2F32C09FC63408B8024932EEFDB0EE0A; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:04:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1175)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1231)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aef87f56-6675-474b-946c-9142a2afd691 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODM3NDMzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4NDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyNDB9.mvhOO4SODgmF0fUdx8rfIBtfV5IGSp8HpasHNv8LdJA |
{ "schemeId" : "1db35f03-c9d4-43de-b09b-0a86788d426b", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=7D4A6E1426DE1C784E3B73712EF0632B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:04:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469849575,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"5b8427a1-6888-4af2-8541-6a23a9b1c77a","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f110f18e-87e5-49bf-a375-473ff78d0cd7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODM3NDMzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4NDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyNDB9.mvhOO4SODgmF0fUdx8rfIBtfV5IGSp8HpasHNv8LdJA |
{
"stepId": "5b8427a1-6888-4af2-8541-6a23a9b1c77a",
"actionName": "saveContent FROM REST NEW",
"schemeId": "1db35f03-c9d4-43de-b09b-0a86788d426b",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=19A583BEF915CFA23B0AAD02728328FC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:04:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"31237eec-1559-4e36-8082-48991b088569","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f49046cb-c6de-4e48-a9f8-f07eee27a2ab |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODM3NDMzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4NDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyNDB9.mvhOO4SODgmF0fUdx8rfIBtfV5IGSp8HpasHNv8LdJA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=72802E9106A0C09D307927F4BC886800; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 22:04:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dd4b07ad-7704-4b3b-b9fa-c8a205e20672 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODM3NDMzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4NDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyNDB9.mvhOO4SODgmF0fUdx8rfIBtfV5IGSp8HpasHNv8LdJA |
{ "schemeId" : "1db35f03-c9d4-43de-b09b-0a86788d426b", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=FDA870A552A206F53B7BBB3F9FEE7E01; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:04:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469870761,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"8e25f471-8aad-4f50-a03c-bfd4cba30529","myOrder":3,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8d21b194-5921-445e-83e9-73688ade594c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODM3NDMzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4NDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyNDB9.mvhOO4SODgmF0fUdx8rfIBtfV5IGSp8HpasHNv8LdJA |
{
"stepId": "8e25f471-8aad-4f50-a03c-bfd4cba30529",
"actionName": "saveContent FROM REST NEW",
"schemeId": "1db35f03-c9d4-43de-b09b-0a86788d426b",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=395C44C48EFDAFB6001F319B6ECBD8AB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:04:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c01aecda-ca9c-4cc4-be4d-9e1943b743fb","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8d9eb53d-a5b1-4dd5-9162-f81f2d97f82b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODM3NDMzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4NDAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyNDB9.mvhOO4SODgmF0fUdx8rfIBtfV5IGSp8HpasHNv8LdJA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=3700E3D8BF94938F9AF7208E15BF4066; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:04:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4cc5fb7d-0eff-4e73-85a0-19c25ecf5307 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 22:04:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 518f77f5-4960-4a82-b173-e191e4d28018 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=CC3BF934D2F064364A5D148FF5D51077; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODg3MTA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4OTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyOTB9.YVFMxHA1tNXMBh2peFsLRIH6bhzyTgz7ZlT00RwQv0U; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 22:04:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | afac4cca-651a-4604-9972-342d6cf3d47f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODg3MTA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4OTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyOTB9.YVFMxHA1tNXMBh2peFsLRIH6bhzyTgz7ZlT00RwQv0U |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E17BF5DEA69978CC6F8AD48E5B92236A; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:04:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1210)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 86731f7a-a03b-416c-bf2b-691436bd75be |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODg3MTA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4OTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyOTB9.YVFMxHA1tNXMBh2peFsLRIH6bhzyTgz7ZlT00RwQv0U |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2B4D013BE0552B3F78F1DC1B2939BD4B; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:04:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1213)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0e3d1051-5977-40b0-be9b-6a9ffea38bc0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODg3MTA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4OTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyOTB9.YVFMxHA1tNXMBh2peFsLRIH6bhzyTgz7ZlT00RwQv0U |
{ "schemeId" : "1db35f03-c9d4-43de-b09b-0a86788d426b", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=D5BD90A7E37C3E32EBB89CFBD8C52E4C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:05:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694469902260,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"a52e9e29-3d2b-4f39-bdf4-95446f381742","myOrder":4,"name":"My REST step","resolved":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6925c46b-03c9-44b3-8409-f188be18f1e6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODg3MTA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4OTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyOTB9.YVFMxHA1tNXMBh2peFsLRIH6bhzyTgz7ZlT00RwQv0U |
{
"stepId": "a52e9e29-3d2b-4f39-bdf4-95446f381742",
"actionName": "saveContent FROM REST NEW",
"schemeId": "1db35f03-c9d4-43de-b09b-0a86788d426b",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=BD20D8E7B2B3D6DFFF7071FB2D12643D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:05:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"ce15fd5b-761e-472e-8f2e-dc991f738294","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"1db35f03-c9d4-43de-b09b-0a86788d426b","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6608c491-dece-4674-aaf3-2b7237d78e81 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODg3MTA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4OTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyOTB9.YVFMxHA1tNXMBh2peFsLRIH6bhzyTgz7ZlT00RwQv0U |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=5CFCEA5D97B85BEF46EB99D17E36D09A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 22:05:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4f19ff00-94ff-4214-ad7f-9fc794724566 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5ODg3MTA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk4OTAsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYyOTB9.YVFMxHA1tNXMBh2peFsLRIH6bhzyTgz7ZlT00RwQv0U |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=DA835F627ED2458403DF57FEC4136A70; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:05:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 90332f83-3d5e-4f84-b2b6-4c526ff6f416 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Mon, 11 Sep 2023 22:05:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 758cf02e-bd99-4cd8-a9da-a4f538c75d60 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=7F497CE40D04BF48B8187028A71541C3; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:05:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469927720,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469927721,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2deef6fc-081f-4215-af91-5a70f8021115 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A60D552EFD43A82D7195A13FE073CC7F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:05:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469933777,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"1db35f03-c9d4-43de-b09b-0a86788d426b","mandatory":false,"modDate":1694469933791,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8e1c4161-dc73-4462-9c5a-cbb21b402e37 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=58EEA1B9A4C130F04A7BEB3E113967A1; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:05:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.delete(WorkflowHelper.java:1955)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteScheme(WorkflowResource.java:3159)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a782dd06-577f-44ea-845c-f1c777068122 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=BE12335FEEFD0C7CFE79C35E6D0B66DA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:05:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694469943091,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"de48a25b-2399-4a6b-bcf0-2114c9d91746","mandatory":false,"modDate":1694469943092,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e2c00f0e-a0b8-46e1-a765-1bd6c8e4f41d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=50BA3C48519BC87DF3A7AFD395135F13; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:05:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469949154,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"de48a25b-2399-4a6b-bcf0-2114c9d91746","mandatory":false,"modDate":1694469949154,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ffe58199-5781-439a-8f45-4c9b44235755 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=ACBB2B5AC2ADEC594DA60BF017D31125; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:05:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694469955205,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"de48a25b-2399-4a6b-bcf0-2114c9d91746","mandatory":false,"modDate":1694469949154,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a content type to associate a system workflow
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e4507a7f-94ad-4c39-861c-3d913287e995 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 432 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"defaultType":false,
"fixed":false,
"system":false,
"clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"description":"",
"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d",
"folder":"SYSTEM_FOLDER",
"name":"TestContentTypeSystemActions",
"systemActionMappings":{
"NEW":"ceca71a0-deee-4999-bd47-b01baa1bcfc8"
},
"workflow":[
"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=D3B3D3DAC5962A764B3DA1C479E00A05; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:06:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"fields":[],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694469961000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694469967000,"indexed":false,"listed":false,"modDate":1694469967000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694469967000,"indexed":false,"listed":false,"modDate":1694469967000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"fields":[]}]}],"modDate":1694469961000,"multilingualable":false,"name":"TestContentTypeSystemActions","siteName":"default","sortOrder":0,"system":false,"systemActionMappings":{"NEW":{"identifier":"04f92a05-4e59-4cc0-bc39-7bd2affb2f58","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694469961000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1694469961000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false}},"variable":"TestContentTypeSystemActions","versionable":true,"workflows":[{"archived":false,"creationDate":1694469967339,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694469840457,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Create for the new content type a new mapping for EDIT
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 21975db0-461a-4215-be88-ef6b0b9294d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionId":"b9d89c80-3d88-4311-8365-187323c96436",
"systemAction":"EDIT",
"contentTypeVariable":"TestContentTypeSystemActions"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=71235E7CEB1ECCEBB94020063DBA9E73; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:06:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"identifier":"cd39780d-4e78-4340-8415-65f133c4cba0","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694469961000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1694469961000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","LISTING","EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the two content types
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 191f72d9-0a92-41ff-a0b6-30e2628035a3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=450EEDF77D2A3BD3C274AC12B5DFAFE5; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:06:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"identifier":"04f92a05-4e59-4cc0-bc39-7bd2affb2f58","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694469961000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1694469961000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false},{"identifier":"cd39780d-4e78-4340-8415-65f133c4cba0","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694469961000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1694469961000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","LISTING","EDITING","UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Return 2 items | 1 | 0 | 0 |
| Has New System Action | 1 | 0 | 0 |
| New has a Save Action | 1 | 0 | 0 |
| Has Edit System Action | 1 | 0 | 0 |
| New has a Save/Publish Action | 1 | 0 | 0 |
| Total | 6 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d8e7364a-6d24-4b07-ae06-a51daafd8887 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=8ABFB65C9BAADD71684A8642E0A2E8AA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:06:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"2d9cd6b90d38e123f13b1bc29a9ca5c2","inode":"9cb80519-488c-4303-ba92-ca2955ed155d","languageId":1,"live":false,"locked":false,"modDate":1694469979544,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469979544,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"2d9cd6b90d38e123f13b1bc29a9ca5c2","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9cb80519-488c-4303-ba92-ca2955ed155d","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an EDIT default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f2331a4d-7ccc-4af9-990a-f07435fef319 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=8C0B0E50A6C25A0A2A020737541EEBDC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:06:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"8483b0231819f1e4c047ee7d9c042f15","inode":"575f8736-bfd5-4963-aea4-aaaeb4290d69","languageId":1,"live":true,"locked":false,"modDate":1694469988723,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469988723,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"8483b0231819f1e4c047ee7d9c042f15","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.575f8736-bfd5-4963-aea4-aaaeb4290d69","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an PUBLISH default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a425a72c-443d-48cf-a943-3402a443b8d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=AFC3C3892676B0BD3000D627FE6E5F5D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:06:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"6ca9063ed58e6828308b86dbfa2998ed","inode":"a0b4dffa-faa2-4d95-beaf-0d81cb556fb7","languageId":1,"live":true,"locked":false,"modDate":1694469997952,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694469997952,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"6ca9063ed58e6828308b86dbfa2998ed","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.a0b4dffa-faa2-4d95-beaf-0d81cb556fb7","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Publish Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 120ee52e-cf50-4853-8bdf-248336f1a315 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=5EF479FF7A0CF27C12E793E8986D0558; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Mon, 11 Sep 2023 22:06:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"hostSwitched":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aaa2879b-371a-4516-86ae-c8791153b68e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"comments":"Adding New Generic content",
"contentlet": {
"contentType":"webPageContent",
"title":"Test Merge Content",
"body":"Test Merge Body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2880CFC6DA2E44F4C3C307E341364EF9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:06:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"41aacbd36be6090daac768e07db4d589","inode":"d25b6ba8-8f3d-47f7-979c-7504e6e155c9","languageId":1,"live":false,"locked":false,"modDate":1694470010308,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470010308,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.d25b6ba8-8f3d-47f7-979c-7504e6e155c9","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 14d60463-fa5b-4c75-9b73-cb5d30c0f0fd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"comments":"Publish an existing Generic content",
"query":"+contentType:webPageContent AND title:\"Test Merge Content\"",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=8CD9E885BB20A89B36380428326B8FD2; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:07:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"41aacbd36be6090daac768e07db4d589":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"41aacbd36be6090daac768e07db4d589","inode":"4f68a67c-35b1-4365-8639-88a9b8689926","languageId":1,"live":true,"locked":false,"modDate":1694470020218,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470020218,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content Published","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.d25b6ba8-8f3d-47f7-979c-7504e6e155c9","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":6952}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c1364486-4435-45dd-8936-cceacd5c9be8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 153 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet": {
"contentType":"webPageContent",
"title":"Test title",
"body":"Test body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=AAAD467AA923E171F7EF8126156F94F9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:07:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"b3d51fb6acd681ce40fdc9f1e76f59a9","inode":"d780ce45-e9f7-4687-9e61-4f498003443a","languageId":1,"live":false,"locked":false,"modDate":1694470030222,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470030222,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test title","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.d780ce45-e9f7-4687-9e61-4f498003443a","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 58ec0bb9-7c2b-48c2-8945-dd75ed86773d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=32F47EDC6FC755CCA7B86D64167AC5BF; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:07:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"811e3dda-049f-48d9-a96c-10f0dc341047":{"errorMessage":"Content not found","identifier":null,"inode":"811e3dda-049f-48d9-a96c-10f0dc341047"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":2}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5df232fd-dd8a-43af-a094-c48ce49573bc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=4CBEED629C9E19A7E4F0F65B6E22FE8D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:07:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"xxxx":{"errorMessage":"Content not found","identifier":null,"inode":"xxxx"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":1}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Content Not Found | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d6ab26d5-ebee-4ca0-b439-9f0b4b2364ba |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3448 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1",
"contentHost":"default",
"body":"Body Content1"
},
{
"contentType":"webPageContent",
"title":"Content2",
"contentHost":"default",
"body":"Body Content2"
},
{
"contentType":"webPageContent",
"title":"Content3",
"contentHost":"default",
"body":"Body Content3"
},
{
"contentType":"webPageContent",
"title":"Content4",
"contentHost":"default",
"body":"Body Content4"
},
{
"contentType":"webPageContent",
"title":"Content5",
"contentHost":"default",
"body":"Body Content5"
},
{
"contentType":"webPageContent",
"title":"Content6",
"contentHost":"default",
"body":"Body Content6"
},
{
"contentType":"webPageContent",
"title":"Content7",
"contentHost":"default",
"body":"Body Content7"
},
{
"contentType":"webPageContent",
"title":"Content8",
"contentHost":"default",
"body":"Body Content8"
},
{
"contentType":"webPageContent",
"title":"Content9",
"contentHost":"default",
"body":"Body Content9"
},
{
"contentType":"webPageContent",
"title":"Content10",
"contentHost":"default",
"body":"Body Content10"
},
{
"contentType":"webPageContent",
"title":"Content11",
"contentHost":"default",
"body":"Body Content11"
},
{
"contentType":"webPageContent",
"title":"Content12",
"contentHost":"default",
"body":"Body Content12"
},
{
"contentType":"webPageContent",
"title":"Content13",
"contentHost":"default",
"body":"Body Content13"
},
{
"contentType":"webPageContent",
"title":"Content14",
"contentHost":"default",
"body":"Body Content14"
},
{
"contentType":"webPageContent",
"title":"Content15",
"contentHost":"default",
"body":"Body Content15"
},
{
"contentType":"webPageContent",
"title":"Content16",
"contentHost":"default",
"body":"Body Content16"
},
{
"contentType":"webPageContent",
"title":"Content17",
"contentHost":"default",
"body":"Body Content17"
},
{
"contentType":"webPageContent",
"title":"Content18",
"contentHost":"default",
"body":"Body Content18"
},
{
"contentType":"webPageContent",
"title":"Content19",
"contentHost":"default",
"body":"Body Content19"
},
{
"contentType":"webPageContent",
"title":"Content20",
"contentHost":"default",
"body":"Body Content20"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2C5898740C2023516A4319EB6DE7B971; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:08:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"570e6d5b5ad6055391d99b9a683d7190":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"570e6d5b5ad6055391d99b9a683d7190","inode":"bbfc9ed3-4651-479b-9714-146e5e722641","languageId":1,"live":true,"locked":false,"modDate":1694470045555,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470045555,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.bbfc9ed3-4651-479b-9714-146e5e722641","working":true}},{"f593ef3781857973eeb74935317732f1":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content2","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"f593ef3781857973eeb74935317732f1","inode":"8074df18-42a1-4fcb-8150-5f482d77059a","languageId":1,"live":true,"locked":false,"modDate":1694470045543,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470045543,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content2","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.8074df18-42a1-4fcb-8150-5f482d77059a","working":true}},{"3d9e1ea3dcfcceea07f9333ecf5ce47f":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content3","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"3d9e1ea3dcfcceea07f9333ecf5ce47f","inode":"0282bc26-2c34-4359-9c72-a61aa09f60ca","languageId":1,"live":true,"locked":false,"modDate":1694470051760,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470051760,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content3","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.0282bc26-2c34-4359-9c72-a61aa09f60ca","working":true}},{"04d386cdda4c096a9a498fffa88aac60":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content4","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"04d386cdda4c096a9a498fffa88aac60","inode":"316b6d89-38c9-4300-b703-f32c11bd1cba","languageId":1,"live":true,"locked":false,"modDate":1694470051801,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470051801,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content4","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.316b6d89-38c9-4300-b703-f32c11bd1cba","working":true}},{"e6cc3f499fd1e23a516673a3c7f76ce6":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content5","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"e6cc3f499fd1e23a516673a3c7f76ce6","inode":"73e3250c-abf8-4c72-b648-6063e17e9f77","languageId":1,"live":true,"locked":false,"modDate":1694470057980,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470057980,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content5","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.73e3250c-abf8-4c72-b648-6063e17e9f77","working":true}},{"3791972f6b2034478b4a7407fdb50166":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content6","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"3791972f6b2034478b4a7407fdb50166","inode":"8c178716-82a3-4d3c-8b71-146eaafd9109","languageId":1,"live":true,"locked":false,"modDate":1694470058033,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470058033,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content6","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.8c178716-82a3-4d3c-8b71-146eaafd9109","working":true}},{"1edbc737360b456f9d96ae201ce09b30":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content7","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1edbc737360b456f9d96ae201ce09b30","inode":"9d898f9e-0675-49a7-b8eb-3521bb4d9d13","languageId":1,"live":true,"locked":false,"modDate":1694470064204,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470064204,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content7","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9d898f9e-0675-49a7-b8eb-3521bb4d9d13","working":true}},{"0298417aaa2dca0219b7f826403040dc":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content8","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"0298417aaa2dca0219b7f826403040dc","inode":"4fc3e9c2-62a5-482c-9a79-933fb8e0ca73","languageId":1,"live":true,"locked":false,"modDate":1694470064312,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470064312,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content8","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.4fc3e9c2-62a5-482c-9a79-933fb8e0ca73","working":true}},{"f8ebdc8f183eecb96a51e6bd583915d5":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content9","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"f8ebdc8f183eecb96a51e6bd583915d5","inode":"7bdb0417-a7e5-4c52-a76b-cdcb10306bbf","languageId":1,"live":true,"locked":false,"modDate":1694470070449,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470070449,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content9","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.7bdb0417-a7e5-4c52-a76b-cdcb10306bbf","working":true}},{"79b7a1f19cdfaa8904506862cb8a212f":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content10","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"79b7a1f19cdfaa8904506862cb8a212f","inode":"707dbc8c-6cc7-4b9a-8eba-ac585296307c","languageId":1,"live":true,"locked":false,"modDate":1694470070596,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470070596,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content10","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.707dbc8c-6cc7-4b9a-8eba-ac585296307c","working":true}},{"64ce8812368b655342637a943726d7ee":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content11","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"64ce8812368b655342637a943726d7ee","inode":"481d6dc6-8f3b-4d20-8e10-b60e7f9b8d44","languageId":1,"live":true,"locked":false,"modDate":1694470076647,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470076647,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.481d6dc6-8f3b-4d20-8e10-b60e7f9b8d44","working":true}},{"0d362631bd7ddb4bd17b031919e7d469":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content12","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"0d362631bd7ddb4bd17b031919e7d469","inode":"146aff9b-176a-41ae-99b8-e074fb8a05ce","languageId":1,"live":true,"locked":false,"modDate":1694470076790,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470076790,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content12","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.146aff9b-176a-41ae-99b8-e074fb8a05ce","working":true}},{"7fe6a7344f4af8a0b5fac05395698e9b":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content13","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"7fe6a7344f4af8a0b5fac05395698e9b","inode":"afa5e92f-e0d4-4479-b543-5f8a4544a652","languageId":1,"live":true,"locked":false,"modDate":1694470082776,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470082776,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content13","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.afa5e92f-e0d4-4479-b543-5f8a4544a652","working":true}},{"6461f77f7b23aea9d542864aa63d8b2b":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content14","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"6461f77f7b23aea9d542864aa63d8b2b","inode":"9fec1ddf-658c-430d-a895-8da7078b951f","languageId":1,"live":true,"locked":false,"modDate":1694470082941,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470082941,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content14","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9fec1ddf-658c-430d-a895-8da7078b951f","working":true}},{"aca881c08331692a3e235b3084fdc94b":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content15","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"aca881c08331692a3e235b3084fdc94b","inode":"259a816c-2f9a-49e0-9aba-755cee94508d","languageId":1,"live":true,"locked":false,"modDate":1694470088922,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470088922,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content15","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.259a816c-2f9a-49e0-9aba-755cee94508d","working":true}},{"bf2e04fa6774da079363af82058fe1c5":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content16","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"bf2e04fa6774da079363af82058fe1c5","inode":"f296115d-8b60-4b96-a4ab-b19729fbcf10","languageId":1,"live":true,"locked":false,"modDate":1694470089086,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470089086,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content16","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f296115d-8b60-4b96-a4ab-b19729fbcf10","working":true}},{"1731f5d272775c1c3ca42ef50cb111c1":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content17","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1731f5d272775c1c3ca42ef50cb111c1","inode":"76c74b2b-e0a7-4c4e-acb7-8b03a8b0a8e0","languageId":1,"live":true,"locked":false,"modDate":1694470095066,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470095066,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content17","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.76c74b2b-e0a7-4c4e-acb7-8b03a8b0a8e0","working":true}},{"df773aaf60c761a659439b13da69e701":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content18","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"df773aaf60c761a659439b13da69e701","inode":"773035a6-7eb1-4017-8a21-725e4a6ee6c7","languageId":1,"live":true,"locked":false,"modDate":1694470095259,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470095259,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content18","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.773035a6-7eb1-4017-8a21-725e4a6ee6c7","working":true}},{"9b4e1c260b329ca7f7face2c50704374":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content19","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9b4e1c260b329ca7f7face2c50704374","inode":"9398d809-ddfe-4a84-b622-8d3f14e96634","languageId":1,"live":true,"locked":false,"modDate":1694470101239,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470101239,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content19","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9398d809-ddfe-4a84-b622-8d3f14e96634","working":true}},{"cb98a8b5d55b6d3994ca542b80c8c606":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content20","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"cb98a8b5d55b6d3994ca542b80c8c606","inode":"d7776721-8b73-4fb1-83a0-08caf95372f3","languageId":1,"live":true,"locked":false,"modDate":1694470101474,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470101474,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content20","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.d7776721-8b73-4fb1-83a0-08caf95372f3","working":true}}],"summary":{"affected":20,"failCount":0,"successCount":20,"time":62049}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets but some of them are sent without ContentType so it should fail
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 959d27eb-84d8-436d-9bf0-61516989139e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 336 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1 SUCCESS",
"contentHost":"default",
"body":"Body Content1"
},
{
"title":"Content2 FAIL",
"contentHost":"default",
"body":"Body Content2"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=CE2EAB8FF926E35F9B8828B181150672; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:08:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"{title=Content2 FAIL, contentHost=default, body=Body Content2}":{"errorMessage":"Content Type does not exist","identifier":null,"inode":null}},{"8df656cabf492182e35ad0984126e370":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"8df656cabf492182e35ad0984126e370","inode":"71c0cda0-ab21-4233-bb8c-d1ccd4f283e6","languageId":1,"live":true,"locked":false,"modDate":1694470110638,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470110638,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1 SUCCESS","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.71c0cda0-ab21-4233-bb8c-d1ccd4f283e6","working":true}}],"summary":{"affected":2,"failCount":1,"successCount":1,"time":6119}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a temporal file to be uploaded later
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Origin | http://localhost:8080 |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b545c880-4558-440c-a7e5-534255780f29 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"fileName":"250px-Bocas2.jpg",
"remoteUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Bocas2.jpg/250px-Bocas2.jpg"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=352E52791C5AF5C6020434E52A29B7A5; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:08:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"tempFiles":[{"fileName":"250px-Bocas2.jpg","folder":"","id":"temp_b0bb8563f0","image":true,"length":10555,"mimeType":"image/jpeg","referenceUrl":"/dA/temp_b0bb8563f0/tmp/250px-Bocas2.jpg","thumbnailUrl":"/contentAsset/image/temp_b0bb8563f0/tmp/filter/Thumbnail/thumbnail_w/250/thumbnail_h/250/250px-Bocas2.jpg"}]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| File name check | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets with binary fields on them, to achieve this the file must be uploaded first using the temp resource.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 56d0ee7c-b015-4889-95d4-f3d05f1423fa |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 162 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlets":[
{
"contentType":"DotAsset",
"asset":"temp_b0bb8563f0",
"hostFolder":"default"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=09D2D9767B230C945C161F4E503AEDC2; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:08:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"73182827975daf52703fd6db10f80e71":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpgIcon","archived":false,"asset":"/dA/73182827975daf52703fd6db10f80e71/asset/250px-Bocas2.jpg","assetContentAsset":"73182827975daf52703fd6db10f80e71/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":10555,"height":187,"isImage":true,"length":10555,"modDate":1694470120298,"name":"250px-Bocas2.jpg","sha256":"735c49b3d9ee65891ae038fa7005cff339d66414a4c8aeefa9900c855d637a61","title":"250px-Bocas2.jpg","version":20220201,"width":250},"assetVersion":"/dA/1bddcf1c-eac3-4c96-8b7f-e2e2452d40c0/asset/250px-Bocas2.jpg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"73182827975daf52703fd6db10f80e71","inode":"1bddcf1c-eac3-4c96-8b7f-e2e2452d40c0","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1694470123392,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"250px-Bocas2.jpg","owner":"dotcms.org.1","path":"/content.1bddcf1c-eac3-4c96-8b7f-e2e2452d40c0","publishDate":1694470123392,"size":10555,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"250px-Bocas2.jpg","titleImage":"asset","type":"dotasset","url":"/content.1bddcf1c-eac3-4c96-8b7f-e2e2452d40c0","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":6186}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2b4a4b71-6808-4698-b488-3dc1091531db |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=BB1593FC5447A998CEFFDEC7FE217F77; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:08:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"af92bbac-2f1f-4c00-870b-29d498660042","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f22c25d-a92a-4e4d-a3dc-2db994f7190e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=0337B548062718555109511639C5148C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 22:09:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 48ed22e9-1697-4d26-87a6-689844f44cc9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=87AC9A23F2F4C4D5CBDBBA7E05F7D0A9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:09:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"5817da18-7083-426e-80e2-a52ea33587ae","isContentlet":true,"languageId":1,"live":true,"liveInode":"5817da18-7083-426e-80e2-a52ea33587ae","locked":false,"mimeType":"application/dotpage","modDate":1694470147758,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1694470147758,"shortyLive":"5817da1870","shortyWorking":"5817da1870","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"5817da18-7083-426e-80e2-a52ea33587ae"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 736adf38-049e-4c16-9200-1f4b8005fc46 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=03BCE11262188E9CC72A5B34A5184911; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:09:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__icon__":"pageIcon","_path_to_move":"//default/moveto","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"d4381981618af4daa59a925ee70d30c3","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"5817da18-7083-426e-80e2-a52ea33587ae","isContentlet":true,"languageId":1,"live":true,"liveInode":"5817da18-7083-426e-80e2-a52ea33587ae","locked":false,"mimeType":"application/dotpage","modDate":1694470147758,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/moveto/pageassetcontentalreadyexistsmove","publishDate":1694470147758,"shortyLive":"5817da1870","shortyWorking":"5817da1870","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/pageassetcontentalreadyexistsmove","working":true,"workingInode":"5817da18-7083-426e-80e2-a52ea33587ae"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d0e3e0f1-17de-4eed-9076-88cb2d9d6777 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A0E36CCD0F9558E493DD9C37E99428E7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:09:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"a58d113b-3ec0-4cde-8b29-59687112c4fe","inode":"f7807742-0bb8-4bbe-bed1-c7cc46a5f2e8","isContentlet":true,"languageId":1,"live":true,"liveInode":"f7807742-0bb8-4bbe-bed1-c7cc46a5f2e8","locked":false,"mimeType":"application/dotpage","modDate":1694470169936,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1694470169936,"shortyLive":"f78077420b","shortyWorking":"f78077420b","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"f7807742-0bb8-4bbe-bed1-c7cc46a5f2e8"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f30102c7-1c63-422f-b19c-a6cc3ecf3c7d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=79509E762EB1FF91B204277FF07F2370; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/ |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:09:39 GMT |
| Connection | close |
{"message":"Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:538)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:481)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:413)\n\tat com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.move(ContentletAPIInterceptor.java:650)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.lambda$executeAction$5e0ff813$1(MoveContentActionlet.java:78)\n\tat io.vavr.control.Try.of(Try.java:75)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.executeAction(MoveContentActionlet.java:78)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireWorkflowPostCheckin(WorkflowAPIImpl.java:2410)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.lambda$fireContentWorkflow$73(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.util.ThreadContextUtil.wrapVoidNoReindex(ThreadContextUtil.java:85)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d3e00070-14a4-462e-8c14-a8b71f7437fb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=2EFF4D02593F86C6EDF37366A88163E6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:09:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"583d7ae5-d31a-4ed1-a805-853c0301ceb4","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNPUBLISHED","NEW","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b990a4bb-3607-4216-9b91-fcf1377b028e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A14C9630C7DF2670E3B212C6AC18EAFD; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Mon, 11 Sep 2023 22:09:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0705cde2-88c2-4378-aee8-93c1a72035d9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet": {
"contentType": "webPageContent",
"title":"Test",
"body":"Test",
"contentHost":"SYSTEM_HOST"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=956BA80625A272EBC07AE6894A682230; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:10:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"5941503862636c29a2f7e1b09442e081","inode":"3c543a96-6877-44ee-85e2-01b0fed56899","languageId":1,"live":true,"locked":false,"modDate":1694470197589,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470197589,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.3c543a96-6877-44ee-85e2-01b0fed56899","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fa243f19-b896-4418-abb0-fa2bb3d058bb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=62E9269F4AA5E67F7119411EB83D3953; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:10:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"_path_to_move":"//default/moveto","archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"d4381981618af4daa59a925ee70d30c3","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"5941503862636c29a2f7e1b09442e081","inode":"3c543a96-6877-44ee-85e2-01b0fed56899","languageId":1,"live":true,"locked":false,"modDate":1694470197589,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470197589,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/content.3c543a96-6877-44ee-85e2-01b0fed56899","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0e772fe3-740f-44ea-93e4-2aa8e824ae6f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=BD39EE89B7A9E45CD4A0D2844239316C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:10:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","host":{"aliases":null,"archived":false,"categoryId":"1b407535-67e3-4f21-ad00-8ef5ef492d64","contentTypeId":"855a2d72-f2f3-4169-8b04-ac5157c4380c","default":true,"dotAsset":false,"fileAsset":false,"folder":"SYSTEM_FOLDER","form":false,"host":"SYSTEM_HOST","hostThumbnail":null,"hostname":"default","htmlpage":false,"identifier":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","indexPolicyDependencies":"DEFER","inode":"1b407535-67e3-4f21-ad00-8ef5ef492d64","keyValue":false,"languageId":1,"live":true,"locked":true,"lowIndexPriority":false,"modDate":1685051810282,"modUser":"dotcms.org.1","name":"default","new":false,"owner":"dotcms.org.1","parent":true,"permissionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","permissionType":"com.dotmarketing.portlets.contentlet.model.Contentlet","persona":false,"sortOrder":0,"structureInode":"855a2d72-f2f3-4169-8b04-ac5157c4380c","systemHost":false,"tagStorage":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","title":"default","titleImage":null,"type":"contentlet","vanityUrl":false,"variantId":"DEFAULT","versionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true},"hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","idate":1694470157661,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","map":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694470157661,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","modDate":1694470157661,"name":"moveto","owner":null,"path":"/moveto/","showOnMenu":false,"sortOrder":0,"title":"moveto","type":"folder"},"modDate":1694470157661,"name":"moveto","owner":null,"parent":true,"path":"/moveto/","permissionId":"d4381981618af4daa59a925ee70d30c3","permissionType":"com.dotmarketing.portlets.folders.model.Folder","showOnMenu":false,"sortOrder":0,"systemFolder":false,"title":"moveto","type":"folder"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4ffa6e1c-e967-4dd6-b160-0c46017d1e5c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Content-Length | 2587342 |
{"file":"resources/issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=686669901397AA2A530E6C44D633DDBA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 81 |
| Date | Mon, 11 Sep 2023 22:10:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 469c0abe-1e78-428d-a5a8-b5a8ca90979f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{"query":"+contentType:Issue21482 +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1EFB6D37DE9AECD211A4809D71C89DDD; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:10:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":40,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-05-05 17:06:40.823","imageMetaData":{"modDate":1651770380645,"sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","length":2192322,"title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"isImage":true,"fileSize":2192322,"name":"Iron Maiden Somewhere in time front cover.jpeg","width":1280,"contentType":"image/jpeg","height":1280},"publishDate":"2022-05-05 17:06:40.823","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","title":"Iron Maiden","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","baseType":"CONTENT","inode":"5da9f247-3308-48fd-9f3a-00138ba0d427","archived":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"videoMetaData":{"modDate":1651770396125,"sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","length":386530,"title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"isImage":true,"fileSize":386530,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","width":1250,"contentType":"image/jpeg","height":1231},"stInode":"665acd917b55aa436b7773223e4c1ff2","contentType":"Issue21482","live":true,"owner":"dotcms.org.1","imageVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/image/Iron Maiden Somewhere in time front cover.jpeg","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","languageId":1,"url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","titleImage":"image","modUserName":"Admin User","hasLiveVersion":true,"videoVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","folder":"SYSTEM_FOLDER","hasTitleImage":true,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":935,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2e72a659-31e9-4443-8dfa-a335768c7d4d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 291 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=361C0A72440A331C2212EB2A88B3ECB8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:10:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","imageMetaData":{"contentType":"image/jpeg","fileSize":2192322,"height":1280,"isImage":true,"length":2192322,"modDate":1694470219729,"name":"Iron Maiden Somewhere in time front cover.jpeg","sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"width":1280},"imageVersion":"/dA/6abc0cbb-f929-432d-9968-b010bfa2c0f2/image/Iron Maiden Somewhere in time front cover.jpeg","inode":"6abc0cbb-f929-432d-9968-b010bfa2c0f2","languageId":1,"live":true,"locked":false,"modDate":1694470237446,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470237446,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"image","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1694470219737,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/6abc0cbb-f929-432d-9968-b010bfa2c0f2/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 97f376fd-18f8-48b6-9f9a-cedc58280785 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 312 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482",
"image":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=A62D01761D5B5D2711E321A926B35DBB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:10:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","inode":"b65936d1-ea70-4993-afcd-80710b81a372","languageId":1,"live":true,"locked":false,"modDate":1694470246705,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470246705,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"video","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1694470219737,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/b65936d1-ea70-4993-afcd-80710b81a372/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b0fe73cc-572a-4e4f-b04b-d7816b25a415 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=65CA10B7326BFFC1CA5954D5C35CD5CA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:10:55 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"id":"e7d4e34e-5127-45fc-8123-d48b62d510e3","name":"Admin User (User)","roleKey":"dotcms.org.1","user":true},{"id":"654b0931-1027-41f7-ad4d-173115ed8ec1","name":"Current User","roleKey":"CMS Anonymous","user":false},{"id":"6b1fa42f-8729-4625-80d1-17e4ef691ce7","name":"CMS Owner","roleKey":"CMS Owner","user":false},{"id":"742c9eb3-8651-4df4-b1dc-00c8c64aee4f","name":"LDAP User","roleKey":"LDAP User","user":false},{"id":"6f9d5449-8f48-4179-a2ad-1983d6217fef","name":"Login As","roleKey":"Login As","user":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| length check | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 03e31606-9726-41aa-927f-e50f56cad7b7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 308 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["654b0931-1027-41f7-ad4d-173115ed8ec1"],
"WRITE":["654b0931-1027-41f7-ad4d-173115ed8ec1"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=19D7DBFA349EA2C506D889EFA400EA12; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:11:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"39bbdc3056099b0c0465ecb8f729ef46","inode":"129ee1fd-4426-429b-8e56-5d2a263c34d8","languageId":1,"live":true,"locked":false,"modDate":1694470259086,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470259086,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test3-11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.129ee1fd-4426-429b-8e56-5d2a263c34d8","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c3f13198-2332-408e-8ceb-53195085d1e0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=6741D27E5150B322A7316C0EF5EA1D62; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:11:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"bitPermission":false,"id":0,"inode":"39bbdc3056099b0c0465ecb8f729ef46","permission":"EDIT","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"},{"bitPermission":false,"id":0,"inode":"39bbdc3056099b0c0465ecb8f729ef46","permission":"READ","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| The permission should be EDIT | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This endpoint imports a bundle that contains an instance of a Content Type that contains 2 category fields.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b3586645-f553-4ea5-9cc7-5c2c52601873 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Content-Length | 10047 |
{"file":"resources/issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=53A6385F35231B16708E6E1512AF25EC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 92 |
| Date | Mon, 11 Sep 2023 22:11:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Once the Content type that contains the category fields has been imported this request finds it and gets the identifier from it.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ea0d1445-d6ad-45e0-ab7d-0a6f6a3d4704 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=0BFAD7617C2ABA9FE020D3A12FCCCA43; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:11:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":60,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-09-06 23:12:52.124","publishDate":"2022-09-06 23:12:52.124","title":"Update Norco Revolver","baseType":"CONTENT","inode":"98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":890,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This is basically the happy path test. We validate that the content-type can be updated passing arrays of valid categories. Then verify the response to check the categories are the expected.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f3fd4e5b-25f3-4450-9795-ce213d3bb425 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 353 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["MTB","Road"],
"make":["Norco"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=74580932F98DC4AAB9EAEFB21D2BA40D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:11:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"257adc94-7b89-4679-bfd7-adc841f4b908","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694470294550,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470294550,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This test is meant to send a request without including any of the category fields. The categories on the target content should remain the same.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8c86b6ac-ef19-4871-87f1-bbd9d003c5f7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 300 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=85BCCB41E1E5EFF6B38DD79C9C0DBA1F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:11:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"ca7e7b4f-fd72-46c9-8205-54b17840aaca","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694470303840,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470303840,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to fetch the instance of our content with categories and verify it remains unmodified after the last request that had excluded the category fields.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 48c0584e-5701-4399-9ee3-c2bb7d1de34c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=61429B4C1CB867B7F89C40F799489F89; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:11:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":16,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2023-09-11 22:11:43.84","publishDate":"2023-09-11 22:11:43.84","title":"Update Norco Revolver","baseType":"CONTENT","inode":"ca7e7b4f-fd72-46c9-8205-54b17840aaca","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":6,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Now we're gonna try removing the contents from one of the category fields and at the same time we're gonna ignore the second field.
The expected outcome is: Content withe the "bikeType" field cleared and the while "make" should still keep their values.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 030d32bc-c825-4de5-94f2-5a884bf5d272 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 316 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":[]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=3423CB3FC8D84FFFED602AD397E4E654; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:12:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"c8488ada-50fb-4b83-9b16-9440251a9de9","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694470316116,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470316116,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
In this request we want to test that when sending an invalid category name we can expect an invalid request response.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3401d70d-e6f4-4515-add8-86cf892f4a61 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 321 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["lol"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=E436E040CBFCE31035636A263AFE9372; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:12:05 GMT |
| Connection | close |
{"message":"Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.\n\tat com.dotcms.rest.MapToContentletPopulator.getCategoriesFromStringValue(MapToContentletPopulator.java:605)\n\tat com.dotcms.rest.MapToContentletPopulator.internalFetchCategories(MapToContentletPopulator.java:490)\n\tat com.dotcms.rest.MapToContentletPopulator.fetchCategories(MapToContentletPopulator.java:458)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1593)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionByNameSinglePart(WorkflowResource.java:1535)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to test that we can also update categories sending them on the request as a comma separated string.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c23f8cfd-ff6e-476f-ba77-8b154881839e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 324 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":"MTB,Road"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=749142E0A56F35ED1604BE07DE3FB857; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:12:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"874476b7-fd9c-46bf-8486-ac5ac2ace807","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694470328376,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470328376,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
And finally we want to test that sending null as the value on the category field has the same effect as ignoring the field.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6f27d849-e945-4dad-98d0-06d4d0e292df |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 338 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":null,
"make":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=BF24F662E5789107580081B6628DC526; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:12:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"3da24f1c-414d-4c49-a250-78a5a70a28e3","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694470337564,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470337564,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Imports a Bundle that includes:
* HTMLPage /blog/index
* HTMLPage /blog/destinations/costa-rica
* Contentlet [Blog] Ecotourism in Costa Rica
* Blog Detail Page /blog/blog-detail
| Header Name | Header Value |
|---|---|
| Content-Type | application/octet-stream |
| Content-Disposition | attachment |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 057724ad-8070-4d7c-a88a-91ed4019ec9c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
| Content-Length | 13216 |
{"file":"resources/WorkflowResource/experimentType.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=3773ECE8F41FB9C8588EDD34C9405A61; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 57 |
| Date | Mon, 11 Sep 2023 22:12:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"experimentType.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Bundle uploaded sucessfully | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 68e6ef8c-4709-49f4-b598-229842e25268 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 486 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{ "contentlet" : {
"stInode" : "28ff0587887d2be07175b8b4fe06129f",
"languageId" : 1,
"name": "experiment 2",
"description": "exp desc",
"trafficAllocation": 50.0,
"trafficProportion": {
"variants": [
{
"name": "default",
"trafficPercentage": 50.0
},
{
"name": "variant1",
"trafficPercentage": 50.0
}
],
"type": "SPLIT_EVENLY"
}
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=DA6CE8557D879A544D0C81036AA18738; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:12:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Experiment","description":"exp desc","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"48190c8c-42c4-46af-8d1a-0cd5db894797","hostName":"demo.dotcms.com","identifier":"1ae54bd187c5e05cbd48aaa64558eedf","inode":"f9bcea62-9028-40d5-a5b1-5994f1117189","languageId":1,"live":true,"locked":false,"modDate":1694470361760,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"experiment 2","owner":"dotcms.org.1","publishDate":1694470361760,"sortOrder":0,"stInode":"28ff0587887d2be07175b8b4fe06129f","title":"experiment 2","titleImage":"TITLE_IMAGE_NOT_FOUND","trafficAllocation":50.0,"trafficProportion":{"type":"SPLIT_EVENLY","variants":[{"name":"default","trafficPercentage":50.0},{"name":"variant1","trafficPercentage":50.0}]},"url":"/content.f9bcea62-9028-40d5-a5b1-5994f1117189","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 16d28779-f261-4474-a347-6434a83d656b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 280 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet": {
"hostFolder":"default",
"title": "greatings.txt",
"fileName": "greatings.txt",
"fileAsset": {
"fileName": "greatings.txt",
"content": "Hello dotCMS"
},
"contentType": "FileAsset"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=64AAD0045EA65A2CF9C76AB08F4AA4A0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:12:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"txtIcon","archived":false,"baseType":"FILEASSET","contentType":"FileAsset","description":"","extension":"txt","fileAsset":"/dA/00efc056471d5dab0ffc93da187df97f/fileAsset/greatings.txt","fileAssetContentAsset":"00efc056471d5dab0ffc93da187df97f/fileAsset","fileAssetVersion":"/dA/5d4adb64-3d82-4418-a3ba-68f25f6ea7d2/fileAsset/greatings.txt","fileName":"greatings.txt","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"00efc056471d5dab0ffc93da187df97f","inode":"5d4adb64-3d82-4418-a3ba-68f25f6ea7d2","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"text/plain; charset=ISO-8859-1","modDate":1694470371067,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"greatings.txt","owner":"dotcms.org.1","parent":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","path":"/greatings.txt","publishDate":1694470371067,"size":12,"sortOrder":0,"stInode":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"greatings.txt","titleImage":"TITLE_IMAGE_NOT_FOUND","type":"file_asset","underlyingFileName":"greatings.txt","url":"/greatings.txt","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b5c41e4c-c2e4-4f6b-9093-ff3f0ebf1295 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 401 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet":{
"identifier":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=9F4460E3F5758B434D45A64193EAD2A3; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:13:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 722b7506-b389-43d6-abd6-14c6d8f5b8f9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 396 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet":{
"inode":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=82746F062E50713FCDAC5378F9712904; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:13:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor486.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 67c6f692-27eb-494a-8f88-69ead838ea95 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=98F40309AC2749E3EA62B4059BDC0EE5; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:13:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor486.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 819d9653-c731-4825-a6f4-2e89743d076b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1EEAF0D7FF45FEAD14B3DCA621402AFF; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:13:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor486.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f011622a-43f9-4b0d-9c86-3dc4d1a545c2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 941 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Region",
"description": "Region",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"dataType": "TEXT",
"fieldType": "Text",
"fieldTypeLabel": "Text",
"fieldVariables": [],
"fixed": false,
"iDate": 1606168746000,
"indexed": true,
"listed": true,
"modDate": 1606168746000,
"name": "Title",
"readOnly": false,
"required": true,
"searchable": true,
"sortOrder": 1,
"unique": false,
"variable": "title"
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=DFA8721F1FDF9A3E6CD1F87809972493; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:13:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Region","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1694470393000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":1,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1694470393000,"icon":"event_note","id":"cec7ff58001803af652a64b505f84dd7","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694470399000,"indexed":false,"listed":false,"modDate":1694470399000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694470399000,"indexed":false,"listed":false,"modDate":1694470399000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1694470393000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1694470393000,"multilingualable":false,"name":"Region","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Region","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 10848dff-9053-4514-a019-39ecea1c69d7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 646 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Movie",
"description": "Movies",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableRelationshipField",
"required": false,
"name": "Regions",
"relationships": {
"velocityVar": "Region",
"cardinality": 0
},
"searchable": false
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=069986EB4680E5019AC7FEF920449126; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:13:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Movies","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694470402000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1694470402000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":0,"unique":false,"variable":"regions"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1694470402000,"icon":"event_note","id":"a42293c7633ac02dbd7462a98deebee8","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694470408000,"indexed":false,"listed":false,"modDate":1694470408000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694470408000,"indexed":false,"listed":false,"modDate":1694470408000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694470402000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1694470402000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":2,"unique":false,"variable":"regions"}]}]}],"modDate":1694470402000,"multilingualable":false,"name":"Movie","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Movie","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0d24f4ad-be0d-4616-8e90-7f97704b5fe6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet": {
"languageId": 1,
"title": "Africa",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=91AF5861E6442DF6D64215E1D5D98D0D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:13:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"84603558afe32fc2cd216cb5baa42a6b","inode":"e4c9c23a-5d05-428d-a992-0ff3996522b8","languageId":1,"live":true,"locked":false,"modDate":1694470411033,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470411033,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Africa","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e4c9c23a-5d05-428d-a992-0ff3996522b8","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4efed7de-9425-4306-80d4-254ea7f8c4d5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet": {
"languageId": 1,
"title": "Asia",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=29B19D159527643AE9CE55404F37103D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:13:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"68a93acfeb07cc2b3b1b9ecc57f9c9e8","inode":"846e2b51-e7b1-48c5-9535-e24a72ad615c","languageId":1,"live":true,"locked":false,"modDate":1694470422130,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470422130,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Asia","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.846e2b51-e7b1-48c5-9535-e24a72ad615c","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7b679506-ee45-4c8e-bcb0-ecbdb8dba02f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 85 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"contentlet": {
"languageId": 1,
"contentType": "Movie"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=1E2C053A817030CF59D6A79DD3F17EF9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:14:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"4e2d1ef4d09bb61c307c2d4ea81e9a73","inode":"187c184a-91c8-4533-9c0c-72f5236343ac","languageId":1,"live":true,"locked":false,"modDate":1694470433160,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470433160,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"4e2d1ef4d09bb61c307c2d4ea81e9a73","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.187c184a-91c8-4533-9c0c-72f5236343ac","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 93c8cb96-feb2-4ef3-8735-37f39818b0ec |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 79 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{"contentlet": {
"regions":"+contentType:Region +Region.title:*Asia*"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=F892BC51C636DB4CD56E96C2C2E07AF4; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:14:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"4e2d1ef4d09bb61c307c2d4ea81e9a73","inode":"32a76927-35ca-4725-b94d-d5f168e81bc4","languageId":1,"live":true,"locked":true,"modDate":1694470444279,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694470444279,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"4e2d1ef4d09bb61c307c2d4ea81e9a73","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.187c184a-91c8-4533-9c0c-72f5236343ac","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c90fe9e3-7be2-4625-9061-2cdcc41b86b5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 140 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NDY5OTI0NzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ0Njk5MjcsImlzcyI6IjM1NGE1YjRhM2EiLCJleHAiOjE2OTQ1NTYzMjd9.TolygtkQKoyjmgCv1vIhK58WuxbhIKpsux_POnj1kdo |
{
"query": "+contentType:Movie +identifier:4e2d1ef4d09bb61c307c2d4ea81e9a73",
"sort": "modDate desc",
"limit": 20,
"offset": 0,
"depth": 1
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 78104811640e|da36b820dd |
| Set-Cookie | JSESSIONID=BA9374D2E0C6B44196295A5527BA1244; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Mon, 11 Sep 2023 22:14:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":18,"jsonObjectView":{"contentlets":[{"hostName":"System Host","modDate":"2023-09-11 22:14:04.279","publishDate":"2023-09-11 22:14:04.279","title":"4e2d1ef4d09bb61c307c2d4ea81e9a73","baseType":"CONTENT","inode":"32a76927-35ca-4725-b94d-d5f168e81bc4","archived":false,"host":"SYSTEM_HOST","working":true,"locked":true,"stInode":"a42293c7633ac02dbd7462a98deebee8","contentType":"Movie","live":true,"owner":"dotcms.org.1","identifier":"4e2d1ef4d09bb61c307c2d4ea81e9a73","languageId":1,"url":"/content.187c184a-91c8-4533-9c0c-72f5236343ac","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note","regions":[{"hostName":"System Host","modDate":"2023-09-11 22:13:42.13","publishDate":"2023-09-11 22:13:42.13","title":"Asia","baseType":"CONTENT","inode":"846e2b51-e7b1-48c5-9535-e24a72ad615c","archived":false,"host":"SYSTEM_HOST","working":true,"locked":false,"stInode":"cec7ff58001803af652a64b505f84dd7","contentType":"Region","live":true,"owner":"dotcms.org.1","identifier":"68a93acfeb07cc2b3b1b9ecc57f9c9e8","languageId":1,"url":"/content.846e2b51-e7b1-48c5-9535-e24a72ad615c","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]}]},"queryTook":6,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Check relationships | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|